diff options
author | ByteHamster <info@bytehamster.com> | 2020-02-05 13:10:04 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-02-05 13:10:04 +0100 |
commit | f790b78b1a6c2aaf0fb789be9542d09ed2da47d2 (patch) | |
tree | f6be97a59997f0f6deb0d02e989cee39183fde1f /app/src/main/res/layout/feeditem_fragment.xml | |
parent | 634c98317fb4ca81557f618f2741f6479066c75d (diff) | |
parent | 6e6a64f5024e09c42dc0710090a1fa4cbaa21372 (diff) | |
download | AntennaPod-f790b78b1a6c2aaf0fb789be9542d09ed2da47d2.zip |
Merge branch 'master' into develop
Diffstat (limited to 'app/src/main/res/layout/feeditem_fragment.xml')
-rw-r--r-- | app/src/main/res/layout/feeditem_fragment.xml | 87 |
1 files changed, 46 insertions, 41 deletions
diff --git a/app/src/main/res/layout/feeditem_fragment.xml b/app/src/main/res/layout/feeditem_fragment.xml index 93919435a..47460a28f 100644 --- a/app/src/main/res/layout/feeditem_fragment.xml +++ b/app/src/main/res/layout/feeditem_fragment.xml @@ -105,50 +105,55 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" - android:layout_marginRight="16dp" - android:layout_marginEnd="16dp" android:orientation="horizontal" + android:gravity="center_vertical" tools:background="@android:color/holo_blue_bright"> - <View - android:layout_width="0dp" - android:layout_height="1dp" - android:layout_weight="1" /> - - <Button - android:id="@+id/butAction1" - style="?attr/buttonBarButtonStyle" - android:layout_width="wrap_content" - android:layout_height="48dp" - android:ellipsize="end" - android:drawablePadding="8dp" - android:textColor="?android:attr/textColorPrimary" - tools:text="Button 1" - tools:background="@android:color/holo_red_light" /> - - <View - android:layout_width="0dp" - android:layout_height="1dp" - android:layout_weight="1" /> - - <Button - android:id="@+id/butAction2" - style="?attr/buttonBarButtonStyle" - android:layout_width="wrap_content" - android:layout_height="48dp" - android:drawablePadding="8dp" - android:ellipsize="end" - android:textColor="?android:attr/textColorPrimary" - tools:text="Button 2" - tools:background="@android:color/holo_orange_dark" /> - - <View - android:layout_width="0dp" - android:layout_height="1dp" - android:layout_weight="1" /> - + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:id="@+id/butAction1" + android:orientation="horizontal" + android:background="?android:attr/selectableItemBackground" + android:gravity="center"> + <ImageView + android:layout_width="24dp" + android:layout_height="24dp" + android:id="@+id/butAction1Icon" + android:layout_margin="12dp" + tools:src="@drawable/ic_settings_grey600_24dp"/> + <TextView + android:textAppearance="@style/TextAppearance.AppCompat.Button" + android:id="@+id/butAction1Text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="?android:attr/textColorPrimary" + tools:text="Button 1"/> + </LinearLayout> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:id="@+id/butAction2" + android:orientation="horizontal" + android:background="?android:attr/selectableItemBackground" + android:gravity="center"> + <ImageView + android:layout_width="24dp" + android:layout_height="24dp" + android:id="@+id/butAction2Icon" + android:layout_margin="12dp" + tools:src="@drawable/ic_settings_grey600_24dp"/> + <TextView + android:textAppearance="@style/TextAppearance.AppCompat.Button" + android:id="@+id/butAction2Text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="?android:attr/textColorPrimary" + tools:text="Button 2"/> + </LinearLayout> </LinearLayout> <View |