aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/layout/tunnel_editor_fragment.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-02-12 19:46:01 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2020-02-12 15:23:53 +0100
commit6a06d099d338b38225f9477ed90d99671e55139f (patch)
treeb4b37cdfb9fd7b33125883fe9063d1c4d93cac65 /app/src/main/res/layout/tunnel_editor_fragment.xml
parentAttribute: remove need for android TextUtils (diff)
downloadwireguard-android-6a06d099d338b38225f9477ed90d99671e55139f.tar.xz
wireguard-android-6a06d099d338b38225f9477ed90d99671e55139f.zip
Implement custom theming to match Google's AOSP design
Closes: #4 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/layout/tunnel_editor_fragment.xml')
-rw-r--r--app/src/main/res/layout/tunnel_editor_fragment.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/layout/tunnel_editor_fragment.xml b/app/src/main/res/layout/tunnel_editor_fragment.xml
index db91df2b..887b3bb7 100644
--- a/app/src/main/res/layout/tunnel_editor_fragment.xml
+++ b/app/src/main/res/layout/tunnel_editor_fragment.xml
@@ -28,7 +28,7 @@
android:id="@+id/main_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?android:attr/colorBackground">
+ android:background="?attr/colorBackground">
<ScrollView
android:layout_width="match_parent"
@@ -46,7 +46,7 @@
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
- android:background="?android:attr/colorBackground"
+ android:background="?attr/colorBackground"
app:cardCornerRadius="4dp"
app:cardElevation="2dp"
app:contentPadding="8dp">
@@ -104,7 +104,7 @@
<Button
android:id="@+id/generate_private_key_button"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
- android:layout_width="96dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/private_key_text"
android:layout_alignParentEnd="true"