Skip to content

Commit cd7a62b

Browse files
committed
Upload file
1 parent 5de70bf commit cd7a62b

1 file changed

Lines changed: 56 additions & 63 deletions

File tree

pio/src/main/res/layout/dialog_power_operation.xml

Lines changed: 56 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -90,74 +90,67 @@
9090
</LinearLayout>
9191
<LinearLayout
9292
android:orientation="horizontal"
93-
android:layout_width="match_parent"
94-
android:layout_height="wrap_content"
95-
android:layout_marginBottom="8dp">
93+
android:id="@+id/power_recovery"
94+
android:background="@drawable/krscript_item_ripple"
95+
android:layout_height="65dp"
96+
android:layout_weight="1.0"
97+
style="@style/ListCardItemSmall">
98+
<ImageView
99+
android:layout_gravity="center_vertical"
100+
android:background="@drawable/action_menu_icon_bg"
101+
android:layout_width="40dp"
102+
android:layout_height="40dp"
103+
android:src="@drawable/power_recovery"
104+
android:scaleType="centerInside"
105+
android:alpha="0.8"
106+
android:layout_marginEnd="@dimen/activity_horizontal_margin"
107+
android:backgroundTint="#FF00BCD4"
108+
app:tint="#FFFFFFFF" />
96109
<LinearLayout
97-
android:orientation="horizontal"
98-
android:id="@+id/power_recovery"
99-
android:background="@drawable/krscript_item_ripple"
100-
android:layout_height="65dp"
101-
android:layout_weight="1.0"
102-
style="@style/ListCardItemSmall">
103-
<ImageView
104-
android:layout_gravity="center_vertical"
105-
android:background="@drawable/action_menu_icon_bg"
106-
android:layout_width="40dp"
107-
android:layout_height="40dp"
108-
android:src="@drawable/power_recovery"
109-
android:scaleType="centerInside"
110-
android:alpha="0.8"
111-
android:layout_marginEnd="@dimen/activity_horizontal_margin"
112-
android:backgroundTint="#FF00BCD4"
113-
app:tint="#FFFFFFFF" />
114-
<LinearLayout
115-
android:layout_gravity="center_vertical"
116-
android:orientation="vertical"
117-
android:layout_width="0dp"
110+
android:layout_gravity="center_vertical"
111+
android:orientation="vertical"
112+
android:layout_width="0dp"
113+
android:layout_height="wrap_content"
114+
android:layout_weight="1.0">
115+
<TextView
116+
android:layout_width="match_parent"
118117
android:layout_height="wrap_content"
119-
android:layout_weight="1.0">
120-
<TextView
121-
android:layout_width="match_parent"
122-
android:layout_height="wrap_content"
123-
android:layout_marginBottom="4dp"
124-
android:text="@string/text_power_recovery"
125-
style="@style/textTitle" />
126-
</LinearLayout>
118+
android:layout_marginBottom="4dp"
119+
android:text="@string/text_power_recovery"
120+
style="@style/textTitle" />
127121
</LinearLayout>
128-
122+
</LinearLayout>
123+
<LinearLayout
124+
android:orientation="horizontal"
125+
android:id="@+id/power_fastboot"
126+
android:background="@drawable/krscript_item_ripple"
127+
android:layout_height="65dp"
128+
android:layout_weight="1.0"
129+
style="@style/ListCardItemSmall">
130+
<ImageView
131+
android:layout_gravity="center_vertical"
132+
android:background="@drawable/action_menu_icon_bg"
133+
android:padding="10dp"
134+
android:layout_width="40dp"
135+
android:layout_height="40dp"
136+
android:src="@drawable/power_fastboot"
137+
android:scaleType="centerInside"
138+
android:alpha="0.8"
139+
android:layout_marginEnd="@dimen/activity_horizontal_margin"
140+
android:backgroundTint="#FFEA3F00"
141+
app:tint="#FFFFFFFF" />
129142
<LinearLayout
130-
android:orientation="horizontal"
131-
android:id="@+id/power_fastboot"
132-
android:background="@drawable/krscript_item_ripple"
133-
android:layout_height="65dp"
134-
android:layout_weight="1.0"
135-
style="@style/ListCardItemSmall">
136-
<ImageView
137-
android:layout_gravity="center_vertical"
138-
android:background="@drawable/action_menu_icon_bg"
139-
android:padding="10dp"
140-
android:layout_width="40dp"
141-
android:layout_height="40dp"
142-
android:src="@drawable/power_fastboot"
143-
android:scaleType="centerInside"
144-
android:alpha="0.8"
145-
android:layout_marginEnd="@dimen/activity_horizontal_margin"
146-
android:backgroundTint="#FFEA3F00"
147-
app:tint="#FFFFFFFF" />
148-
<LinearLayout
149-
android:layout_gravity="center_vertical"
150-
android:orientation="vertical"
151-
android:layout_width="0dp"
143+
android:layout_gravity="center_vertical"
144+
android:orientation="vertical"
145+
android:layout_width="0dp"
146+
android:layout_height="wrap_content"
147+
android:layout_weight="1.0">
148+
<TextView
149+
android:layout_width="match_parent"
152150
android:layout_height="wrap_content"
153-
android:layout_weight="1.0">
154-
<TextView
155-
android:layout_width="match_parent"
156-
android:layout_height="wrap_content"
157-
android:layout_marginBottom="4dp"
158-
android:text="@string/text_power_fastboot"
159-
style="@style/textTitle" />
160-
</LinearLayout>
151+
android:layout_marginBottom="4dp"
152+
android:text="@string/text_power_fastboot"
153+
style="@style/textTitle" />
161154
</LinearLayout>
162155
</LinearLayout>
163156
<LinearLayout

0 commit comments

Comments
 (0)