mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-04 15:28:21 +03:00
- Nice and easy to use import/export options in the subscriptions fragment - Includes instructions for each service (in the import fragment/screen)
139 lines
No EOL
5.2 KiB
XML
139 lines
No EOL
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="12dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/whats_new"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="6dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/whats_new_icon"
|
|
android:layout_width="48dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:src="?attr/rss"
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:gravity="left|center"
|
|
android:text="@string/fragment_whats_new"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="15sp"
|
|
android:textStyle="bold"
|
|
tools:ignore="RtlHardcoded"/>
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/import_export"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/import_export_icon"
|
|
android:layout_width="48dp"
|
|
android:layout_height="24dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:src="?attr/ic_import_export"
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_toRightOf="@+id/import_export_icon"
|
|
android:layout_toLeftOf="@+id/import_export_expand_icon"
|
|
android:gravity="left|center"
|
|
android:text="@string/import_export_title"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="15sp"
|
|
android:textStyle="bold"
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/import_export_expand_icon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="24dp"
|
|
android:src="?attr/expand"
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<org.schabi.newpipe.views.CollapsibleView
|
|
android:id="@+id/import_export_options"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:ignore="RtlSymmetry">
|
|
|
|
<TextView
|
|
android:id="@+id/import_from_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/subscription_import_export_item_height"
|
|
android:gravity="left|center"
|
|
android:maxLines="1"
|
|
android:paddingLeft="72dp"
|
|
android:text="@string/import_from"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="13sp"
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/import_from_options"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="72dp"
|
|
android:layout_marginStart="72dp"
|
|
android:orientation="vertical"/>
|
|
|
|
<TextView
|
|
android:id="@+id/export_to_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/subscription_import_export_item_height"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="left|center"
|
|
android:maxLines="1"
|
|
android:paddingLeft="72dp"
|
|
android:text="@string/export_to"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="13sp"
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/export_to_options"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="72dp"
|
|
android:layout_marginStart="72dp"
|
|
android:orientation="vertical"/>
|
|
</org.schabi.newpipe.views.CollapsibleView>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:background="?attr/separator_color"/>
|
|
</LinearLayout> |