diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-06-06 07:19:04 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-06-06 07:19:04 +0000 |
commit | 01d4d51253308fe8ac5ef6846f21f9cd9acbad00 (patch) | |
tree | 1a40aa1ee28d80361f1a8e39339c4531c78546ac /app/src/main/res | |
parent | c4276736aeb8c26c2bd146a88591c350f7263e62 (diff) | |
download | infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar.gz infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar.bz2 infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar.lz infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar.xz infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.tar.zst infinity-for-reddit-01d4d51253308fe8ac5ef6846f21f9cd9acbad00.zip |
Refine the UI of FlairBottomSheetFragment.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_flair_bottom_sheet.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_flair.xml | 15 |
2 files changed, 15 insertions, 6 deletions
diff --git a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml index 41a12ab8..7827bb3a 100644 --- a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml @@ -9,8 +9,12 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="16dp" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" android:text="@string/flair" + android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_18" android:fontFamily="?attr/font_family" /> diff --git a/app/src/main/res/layout/item_flair.xml b/app/src/main/res/layout/item_flair.xml index de10c3dd..d6b0c239 100644 --- a/app/src/main/res/layout/item_flair.xml +++ b/app/src/main/res/layout/item_flair.xml @@ -9,19 +9,24 @@ <TextView android:id="@+id/flair_text_view_item_flair" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" - android:padding="16dp" + android:layout_weight="1" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> <ImageView android:id="@+id/edit_flair_image_view_item_flair" - android:layout_width="24dp" - android:layout_height="24dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_gravity="center_vertical|end" - android:layout_marginStart="32dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" android:src="@drawable/ic_edit_24dp" android:visibility="gone" app:tint="?attr/primaryTextColor" |