Merge pull request #3622 from ByteHamster/add-feed-page-button

Design tweaks on add feed page
This commit is contained in:
H. Lehmann 2019-11-21 10:06:55 +01:00 committed by GitHub
commit 011d48982e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 19 deletions

View File

@ -73,7 +73,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:padding="16dp"
android:orientation="vertical">
<TextView
@ -83,6 +83,8 @@
android:text="@string/txtvfeedurl_label"
android:textSize="18sp"
android:layout_marginBottom="8dp"
android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textColor="?android:attr/textColorPrimary"/>
<EditText
@ -97,8 +99,10 @@
<Button
android:id="@+id/butConfirm"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
style="?android:attr/buttonBarButtonStyle"
android:text="@string/confirm_label"/>
</LinearLayout>

View File

@ -10,35 +10,32 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:padding="16dp"
android:orientation="vertical">
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:text="@string/discover"
android:textSize="18sp"
android:layout_marginBottom="8dp"
android:layout_weight="1"
android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textColor="?android:attr/textColorPrimary"/>
<TextView
android:layout_width="0dp"
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="0dp"
android:minWidth="0dp"
android:text="@string/discover_more"
android:gravity="end"
android:textAlignment="viewEnd"
android:textSize="18sp"
android:background="?android:attr/selectableItemBackground"
android:layout_marginBottom="8dp"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:layout_weight="1"
android:id="@+id/discover_more"
android:textColor="@color/antennapod_blue"/>
style="?android:attr/buttonBarButtonStyle"/>
</LinearLayout>
<RelativeLayout