Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit c36f287

Browse files
authored
chg: aesthetic changes to the Thread Network dialog (#174)
* chg: aesthetic changes to the Thread Network dialog Change-Id: Idd97918d42e5b7f17c7027e90256b0bf8531a442 * chg: colors aligned with devsite Change-Id: I8fade74e94cd982b0f666c5f7b3bc314e8b3fa5d
1 parent c9fa75d commit c36f287

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

3p-ecosystem/src/main/res/layout/fragment_thread.xml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
See the License for the specific language governing permissions and
1212
limitations under the License.
1313
-->
14+
15+
1416
<layout xmlns:android="http://schemas.android.com/apk/res/android"
1517
xmlns:app="http://schemas.android.com/apk/res-auto"
1618
xmlns:tools="http://schemas.android.com/tools"
@@ -53,7 +55,9 @@
5355
android:layout_marginTop="10dp"
5456
android:layout_marginLeft="30dp"
5557
android:layout_alignParentLeft="true"
58+
android:layout_below="@+id/doGPSPreferredCredsExistButton"
5659
android:text="Get GPS\npreferred\ncredentials"
60+
android:backgroundTint="#00639B"
5761
app:icon="@drawable/ic_baseline_share_24" />
5862
<Button
5963
android:id="@+id/clearGPSButton"
@@ -62,8 +66,9 @@
6266
android:layout_marginTop="10dp"
6367
android:layout_marginLeft="30dp"
6468
android:layout_alignParentLeft="true"
65-
android:layout_below="@+id/getGPSButton"
69+
android:layout_below="@+id/setGPSButton"
6670
android:text="Clear GPS\npreferred\ncredentials"
71+
android:backgroundTint="#00639B"
6772
app:icon="@drawable/ic_baseline_share_24" />
6873
<Button
6974
android:id="@+id/setGPSButton"
@@ -72,8 +77,9 @@
7277
android:layout_marginTop="10dp"
7378
android:layout_marginLeft="30dp"
7479
android:layout_alignParentLeft="true"
75-
android:layout_below="@+id/clearGPSButton"
76-
android:text="Set TBR\ncredentials\nin GPS"
80+
android:layout_below="@+id/getGPSButton"
81+
android:text="Set\ncredentials\nin GPS"
82+
android:backgroundTint="#00639B"
7783
app:icon="@drawable/ic_baseline_share_24" />
7884
<Button
7985
android:id="@+id/doGPSPreferredCredsExistButton"
@@ -82,8 +88,8 @@
8288
android:layout_marginTop="10dp"
8389
android:layout_marginLeft="30dp"
8490
android:layout_alignParentLeft="true"
85-
android:layout_below="@+id/setGPSButton"
8691
android:text="Do pref.\ncredentials\nexist?"
92+
android:backgroundTint="#00639B"
8793
app:icon="@drawable/ic_baseline_share_24" />
8894
<Button
8995
android:id="@+id/setOTBRButton"
@@ -92,7 +98,9 @@
9298
android:layout_marginTop="10dp"
9399
android:layout_marginRight="35dp"
94100
android:layout_alignParentRight="true"
95-
android:text="Set OTBR\npending\ncredentials"
101+
android:text="Set RPi\nOTBR\ncredentials"
102+
android:layout_below="@+id/getOTBRButton"
103+
android:backgroundTint="#3E766D"
96104
app:icon="@drawable/ic_baseline_share_24" />
97105
<Button
98106
android:id="@+id/getOTBRButton"
@@ -101,8 +109,8 @@
101109
android:layout_marginTop="10dp"
102110
android:layout_marginRight="35dp"
103111
android:layout_alignParentRight="true"
104-
android:layout_below="@+id/setOTBRButton"
105-
android:text="Get OTBR\nactive\ncredentials"
112+
android:text="Get RPi\nOTBR\ncredentials"
113+
android:backgroundTint="#3E766D"
106114
app:icon="@drawable/ic_baseline_share_24" />
107115
<Button
108116
android:id="@+id/readQRCode"
@@ -111,8 +119,9 @@
111119
android:layout_marginTop="10dp"
112120
android:layout_marginRight="35dp"
113121
android:layout_alignParentRight="true"
114-
android:layout_below="@+id/getOTBRButton"
122+
android:layout_below="@+id/setOTBRButton"
115123
android:text="Read\ncredentials\nQR Code"
124+
android:backgroundTint="#FF8569"
116125
app:icon="@drawable/ic_baseline_share_24" />
117126
<Button
118127
android:id="@+id/showQRCode"
@@ -123,6 +132,7 @@
123132
android:layout_alignParentRight="true"
124133
android:layout_below="@+id/readQRCode"
125134
android:text="Show\ncredentials\nQR Code"
135+
android:backgroundTint="#FF8569"
126136
app:icon="@drawable/ic_baseline_share_24" />
127137
</RelativeLayout>
128138
<TextView

0 commit comments

Comments
 (0)