Settings more faster
This commit is contained in:
parent
59584bbc01
commit
d6795d3489
File diff suppressed because it is too large
Load Diff
|
@ -344,9 +344,9 @@
|
|||
android:id="@+id/comment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:importantForAutofill="no"
|
||||
android:minLines="3"
|
||||
app:layout_constraintTop_toBottomOf="@id/comment_label"
|
||||
android:importantForAutofill="no" />
|
||||
app:layout_constraintTop_toBottomOf="@id/comment_label" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lv_statuses_label"
|
||||
|
|
|
@ -54,10 +54,10 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:hint="@string/title_hint_custom_sharing"
|
||||
android:importantForAutofill="no"
|
||||
android:lines="2"
|
||||
android:maxLines="2"
|
||||
android:minLines="1"
|
||||
android:importantForAutofill="no" />
|
||||
android:minLines="1" />
|
||||
|
||||
|
||||
<!-- Description -->
|
||||
|
|
|
@ -133,16 +133,16 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:inputType="text"
|
||||
android:importantForAutofill="no" />
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/cf_val_1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:inputType="text"
|
||||
android:importantForAutofill="no" />
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -37,8 +37,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -58,7 +57,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:scrollbars="none"/>
|
||||
android:scrollbars="none" />
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -37,8 +37,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
android:contentDescription="@string/contact_instance_admin"
|
||||
android:src="@drawable/ic_mail_outline"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"/>
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
||||
<!-- Main Loader -->
|
||||
<RelativeLayout
|
||||
|
|
|
@ -29,10 +29,11 @@
|
|||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/main_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/main_container">
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -85,19 +86,20 @@
|
|||
android:text="via instances.social"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:id="@+id/no_instance"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textSize="16sp"
|
||||
android:id="@+id/no_instance"
|
||||
android:visibility="gone"
|
||||
android:autoLink="web"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:autoLink="web"
|
||||
android:gravity="center"
|
||||
android:text="@string/no_instance_reccord"
|
||||
/>
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/close"
|
||||
style="@style/Base.Widget.AppCompat.Button.Colored"
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -91,11 +91,11 @@
|
|||
android:drawableStart="@drawable/ic_check_circle"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/connect_instance"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="20sp"
|
||||
|
@ -180,8 +180,8 @@
|
|||
android:layout_marginTop="10dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:passwordToggleEnabled="true"
|
||||
app:layout_constraintTop_toBottomOf="@id/login_uid_container">
|
||||
app:layout_constraintTop_toBottomOf="@id/login_uid_container"
|
||||
app:passwordToggleEnabled="true">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/login_passwd"
|
||||
|
@ -213,11 +213,11 @@
|
|||
android:drawableStart="@drawable/mastodon_icon"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="12dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/login"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="20sp"
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
>
|
||||
app:layout_scrollFlags="scroll|enterAlways">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iconbar"
|
||||
|
@ -128,8 +127,7 @@
|
|||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin_floating"
|
||||
android:contentDescription="@string/toot_it"
|
||||
android:src="@drawable/ic_edit"
|
||||
/>
|
||||
android:src="@drawable/ic_edit" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/delete_all"
|
||||
|
@ -139,8 +137,7 @@
|
|||
android:layout_margin="@dimen/fab_margin_floating"
|
||||
android:contentDescription="@string/delete_all"
|
||||
android:src="@drawable/ic_delete_floating"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/add_new"
|
||||
|
@ -150,8 +147,7 @@
|
|||
android:layout_margin="@dimen/fab_margin_floating"
|
||||
android:contentDescription="@string/add_new"
|
||||
android:src="@drawable/ic_action_add_new"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
android:visibility="gone" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
<com.google.android.material.navigation.NavigationView
|
||||
|
@ -159,10 +155,10 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="false"
|
||||
app:itemTextColor="?attr/textColor"
|
||||
android:background="@color/cyanea_primary_dark_reference"
|
||||
android:fitsSystemWindows="false"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:itemTextColor="?attr/textColor"
|
||||
app:menu="@menu/activity_main_drawer" />
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent"
|
||||
android:animateLayoutChanges="true">
|
||||
android:animateLayoutChanges="true"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/media_viewpager"
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:TagsEditText="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
@ -122,8 +121,7 @@
|
|||
<Spinner
|
||||
android:id="@+id/set_upload_channel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
@ -145,8 +143,7 @@
|
|||
<Spinner
|
||||
android:id="@+id/set_upload_categories"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
@ -168,8 +165,7 @@
|
|||
<Spinner
|
||||
android:id="@+id/set_upload_licenses"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
@ -191,8 +187,7 @@
|
|||
<Spinner
|
||||
android:id="@+id/set_upload_languages"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Videos Privacy -->
|
||||
|
@ -213,8 +208,7 @@
|
|||
<Spinner
|
||||
android:id="@+id/set_upload_privacy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
@ -92,8 +91,7 @@
|
|||
android:id="@+id/set_upload_privacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
|
|
@ -97,17 +97,19 @@
|
|||
android:id="@+id/pixelfed_story"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pixelfed_story"/>
|
||||
android:text="@string/pixelfed_story" />
|
||||
|
||||
<TextView
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="@color/green"
|
||||
android:background="@drawable/green_border"
|
||||
android:gravity="center"
|
||||
android:id="@+id/indication_story"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/green_border"
|
||||
android:gravity="center"
|
||||
android:text="@string/story_indication"
|
||||
android:id="@+id/indication_story"/>
|
||||
android:textColor="@color/green"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/composer_container"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
|
@ -39,9 +38,8 @@
|
|||
android:id="@+id/reg_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_gravity="end"
|
||||
/>
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reg_category_view"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:scrollbars="none"/>
|
||||
android:scrollbars="none" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/no_result"
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
android:id="@+id/search_tabLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:tabTextAppearance="@style/TabLayoutStyle"
|
||||
android:background="?colorPrimary"
|
||||
app:tabGravity="fill"
|
||||
app:tabMode="fixed"
|
||||
app:tabSelectedTextColor="?colorAccent" />
|
||||
app:tabSelectedTextColor="?colorAccent"
|
||||
app:tabTextAppearance="@style/TabLayoutStyle" />
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/search_viewpager"
|
||||
|
|
|
@ -249,13 +249,13 @@
|
|||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:textIsSelectable="true"
|
||||
android:id="@+id/account_note"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center"
|
||||
android:padding="10dp" />
|
||||
android:padding="10dp"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -289,8 +289,8 @@
|
|||
android:layout_marginEnd="3dp"
|
||||
android:background="@drawable/blue_border"
|
||||
android:singleLine="true"
|
||||
android:visibility="gone"
|
||||
android:textColor="@color/mastodonC4" />
|
||||
android:textColor="@color/mastodonC4"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/account_followed_by"
|
||||
|
@ -358,13 +358,13 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/value1"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp" />
|
||||
android:paddingBottom="10dp"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -399,13 +399,13 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/value2"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp" />
|
||||
android:paddingBottom="10dp"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -439,13 +439,13 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/value3"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp" />
|
||||
android:paddingBottom="10dp"
|
||||
android:textIsSelectable="true" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -478,13 +478,13 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/value4"
|
||||
android:textIsSelectable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp" />
|
||||
android:paddingBottom="10dp"
|
||||
android:textIsSelectable="true" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -501,8 +501,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
app:layout_collapseMode="pin"
|
||||
app:theme="@style/ThemeOverlay.AppCompat.Light"
|
||||
>
|
||||
app:theme="@style/ThemeOverlay.AppCompat.Light">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/toolbar_content"
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<LinearLayout android:id="@+id/drawer_layout"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/toot_padding"
|
||||
android:paddingTop="@dimen/toot_padding"
|
||||
android:paddingRight="@dimen/toot_padding"
|
||||
android:paddingBottom="@dimen/toot_padding"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
android:paddingBottom="@dimen/toot_padding">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/warning_message"
|
||||
|
@ -43,19 +43,19 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:animateLayoutChanges="true"
|
||||
android:maxHeight="80dp"
|
||||
android:hint="@string/toot_cw_placeholder"
|
||||
android:maxHeight="80dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/composer_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginBottom="0dp"
|
||||
android:layout_weight="1"
|
||||
android:fillViewport="true">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
|
@ -84,11 +84,11 @@
|
|||
android:id="@+id/wysiwyg_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginBottom="0dp"
|
||||
android:layout_weight="1"
|
||||
android:fillViewport="true"
|
||||
android:visibility="gone">
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:padding="1dp"/>
|
||||
android:padding="1dp" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/webview_container"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:padding="2dp"/>
|
||||
android:padding="2dp" />
|
||||
|
||||
<app.fedilab.android.webview.CustomWebview
|
||||
android:id="@+id/webviewConnect"
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
/>
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -55,7 +54,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:scrollbars="none"/>
|
||||
android:scrollbars="none" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/no_action"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
|
@ -60,8 +59,7 @@
|
|||
android:id="@+id/set_upload_channel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
<!-- Videos Privacy -->
|
||||
<LinearLayout
|
||||
|
@ -83,8 +81,7 @@
|
|||
android:id="@+id/set_upload_privacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingEnd="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/red_1" />
|
||||
|
|
|
@ -175,8 +175,8 @@
|
|||
android:scaleType="fitXY"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"
|
||||
app:fabSize="mini" />
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/account_mute_notification"
|
||||
|
@ -189,8 +189,8 @@
|
|||
android:scaleType="fitXY"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"
|
||||
app:fabSize="mini" />
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -67,6 +67,6 @@
|
|||
android:gravity="center"
|
||||
android:scaleType="fitXY"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"
|
||||
app:fabSize="mini" />
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
|
@ -65,6 +65,6 @@
|
|||
android:src="@drawable/ic_user_plus"
|
||||
android:textAllCaps="false"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"
|
||||
app:fabSize="mini" />
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
|
@ -16,7 +16,6 @@
|
|||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
@ -43,19 +42,18 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
app:fabSize="mini"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:tint="?iconColorMenu"
|
||||
android:src="@drawable/ic_edit"
|
||||
/>
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/delete_filter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
app:fabSize="mini"
|
||||
android:src="@drawable/ic_delete"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
|
@ -65,10 +65,10 @@
|
|||
android:id="@+id/proof_arrow"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:contentDescription="@string/identity_proofs"
|
||||
android:src="@drawable/ic_keyboard_arrow_right"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/identity_proofs" />
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -129,13 +129,13 @@
|
|||
android:drawableStart="@drawable/ic_remove_red_eye"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment_spoiler"
|
||||
android:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -278,13 +278,13 @@
|
|||
android:drawableStart="@drawable/ic_photo"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone" />
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
android:id="@+id/peertube_video_image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:contentDescription="@string/image_preview"
|
||||
android:gravity="center"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@string/image_preview"/>
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_container"
|
||||
|
@ -56,9 +56,9 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:contentDescription="@string/profile_picture"
|
||||
android:gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:contentDescription="@string/profile_picture" />
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -96,15 +96,13 @@
|
|||
android:id="@+id/peertube_views"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
/>
|
||||
android:layout_marginStart="5dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/peertube_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
/>
|
||||
android:layout_marginStart="5dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/pf_cardview"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -30,35 +30,36 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:orientation="horizontal">
|
||||
android:paddingBottom="10dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pf_pp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp" />
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
<TextView
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:id="@+id/pf_username"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.smarteist.autoimageslider.SliderView
|
||||
android:id="@+id/imageSlider"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"
|
||||
android:visibility="gone"
|
||||
app:sliderAnimationDuration="1000"
|
||||
app:sliderAutoCycleDirection="back_and_forth"
|
||||
app:sliderAutoCycleEnabled="true"
|
||||
|
@ -76,16 +77,17 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:id="@+id/art_media"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:visibility="gone"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/art_media_play"
|
||||
android:layout_width="30dp"
|
||||
|
@ -99,12 +101,12 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -112,20 +114,20 @@
|
|||
android:orientation="horizontal">
|
||||
|
||||
<com.varunest.sparkbutton.SparkButton
|
||||
android:layout_marginStart="15dp"
|
||||
android:id="@+id/pf_share"
|
||||
app:sparkbutton_activeImage="@drawable/ic_share_media"
|
||||
app:sparkbutton_inActiveImage="@drawable/ic_share_media"
|
||||
android:contentDescription="@string/share"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
app:sparkbutton_iconSize="30dp" />
|
||||
android:layout_marginStart="15dp"
|
||||
android:contentDescription="@string/share"
|
||||
app:sparkbutton_activeImage="@drawable/ic_share_media"
|
||||
app:sparkbutton_iconSize="30dp"
|
||||
app:sparkbutton_inActiveImage="@drawable/ic_share_media" />
|
||||
|
||||
<TextView
|
||||
android:layout_marginTop="5dp"
|
||||
android:id="@+id/pf_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
|
|
@ -19,32 +19,34 @@
|
|||
android:id="@+id/reaction_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:paddingEnd="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingEnd="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingBottom="2dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/reaction_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginEnd="3dp"
|
||||
/>
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/reaction_emoji"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginEnd="3dp"
|
||||
android:id="@+id/reaction_emoji"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:textSize="16sp"
|
||||
android:id="@+id/reaction_count"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/reaction_count"/>
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
|
@ -260,11 +260,11 @@
|
|||
android:layout_marginTop="5dp"
|
||||
android:contentDescription="@string/delete"
|
||||
android:src="@drawable/ic_clear_toot"
|
||||
app:tint="?attr/iconColor"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="@id/fedilab_features"
|
||||
app:layout_constraintStart_toStartOf="@id/fedilab_features"
|
||||
app:layout_constraintTop_toBottomOf="@id/fedilab_features" />
|
||||
app:layout_constraintTop_toBottomOf="@id/fedilab_features"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_account_displayname_owner"
|
||||
|
@ -290,11 +290,11 @@
|
|||
android:layout_marginEnd="5dp"
|
||||
android:contentDescription="@string/cached_status"
|
||||
android:src="@drawable/ic_cached_black"
|
||||
app:tint="?attr/textColor"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/status_account_displayname_owner"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/status_account_displayname_owner" />
|
||||
app:layout_constraintTop_toTopOf="@id/status_account_displayname_owner"
|
||||
app:tint="?attr/textColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_account_username"
|
||||
|
@ -360,9 +360,9 @@
|
|||
android:drawableStart="@drawable/ic_remove_red_eye"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment_spoiler"
|
||||
android:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -387,13 +387,13 @@
|
|||
android:drawableStart="@drawable/ic_more_toot_content"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/display_toot_truncate"
|
||||
android:textAllCaps="false"
|
||||
app:tint="?attr/iconColor"
|
||||
android:visibility="gone" />
|
||||
android:visibility="gone"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_toot_app"
|
||||
|
@ -551,8 +551,7 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:contentDescription="@string/videos"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
/>
|
||||
android:src="@drawable/ic_play_arrow" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -919,7 +918,6 @@
|
|||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:id="@+id/status_reactions"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -927,14 +925,17 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@+id/status_action_container"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@id/status_content_section"
|
||||
app:layout_constraintTop_toBottomOf="@id/status_content_section">
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
android:id="@+id/fake_edittext"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -947,31 +948,32 @@
|
|||
android:id="@+id/status_add_reaction"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_add"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reactions_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
@ -990,10 +992,10 @@
|
|||
android:layout_height="30dp"
|
||||
android:contentDescription="@string/reply"
|
||||
android:src="@drawable/ic_reply"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_reply_count"
|
||||
|
@ -1053,20 +1055,20 @@
|
|||
android:layout_marginStart="15dp"
|
||||
android:contentDescription="@string/pin_add"
|
||||
android:src="@drawable/ic_pin_drop"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/status_favorite_count"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_privacy"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/status_more"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_more"
|
||||
|
@ -1074,10 +1076,10 @@
|
|||
android:layout_height="25dp"
|
||||
android:contentDescription="@string/display_toot_truncate"
|
||||
android:src="@drawable/ic_more_horiz"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
|
|
@ -247,11 +247,11 @@
|
|||
android:layout_marginEnd="5dp"
|
||||
android:contentDescription="@string/cached_status"
|
||||
android:src="@drawable/ic_cached_black"
|
||||
app:tint="?attr/textColor"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/status_account_displayname_owner"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/status_account_displayname_owner" />
|
||||
app:layout_constraintTop_toTopOf="@id/status_account_displayname_owner"
|
||||
app:tint="?attr/textColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_toot_date"
|
||||
|
@ -301,9 +301,9 @@
|
|||
android:drawableStart="@drawable/ic_remove_red_eye"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment_spoiler"
|
||||
android:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -328,9 +328,9 @@
|
|||
android:drawableStart="@drawable/ic_more_toot_content"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/display_toot_truncate"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone" />
|
||||
|
@ -477,8 +477,7 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:contentDescription="@string/play_video"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
/>
|
||||
android:src="@drawable/ic_play_arrow" />
|
||||
</RelativeLayout>
|
||||
|
||||
<app.fedilab.android.webview.CustomWebview
|
||||
|
@ -847,34 +846,37 @@
|
|||
android:id="@+id/status_action_container_twitter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_share"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_share_peertube"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/status_reactions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
android:id="@+id/fake_edittext"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -887,30 +889,31 @@
|
|||
android:id="@+id/status_add_reaction"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_add"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reactions_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
android:layout_marginStart="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
@ -925,10 +928,10 @@
|
|||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_reply"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status_reply_count"
|
||||
|
@ -1006,11 +1009,11 @@
|
|||
android:layout_marginTop="5dp"
|
||||
android:contentDescription="@string/delete"
|
||||
android:src="@drawable/ic_clear_toot"
|
||||
app:tint="?attr/iconColorMenu"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/new_element"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColorMenu" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_pin"
|
||||
|
@ -1019,10 +1022,10 @@
|
|||
android:layout_marginStart="15dp"
|
||||
android:contentDescription="@string/pin_add"
|
||||
android:src="@drawable/ic_pin_drop"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/status_remove"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_privacy"
|
||||
|
@ -1039,10 +1042,10 @@
|
|||
android:layout_height="25dp"
|
||||
android:contentDescription="@string/display_toot_truncate"
|
||||
android:src="@drawable/ic_more_horiz"
|
||||
app:tint="?attr/iconColor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="?attr/iconColor" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<include
|
||||
|
|
|
@ -246,13 +246,13 @@
|
|||
android:drawableLeft="@drawable/ic_remove_red_eye"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment_spoiler"
|
||||
android:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -278,9 +278,9 @@
|
|||
android:drawableLeft="@drawable/ic_more_toot_content"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/display_toot_truncate"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone" />
|
||||
|
@ -428,8 +428,7 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:contentDescription="@string/play_video"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
/>
|
||||
android:src="@drawable/ic_play_arrow" />
|
||||
</RelativeLayout>
|
||||
|
||||
<app.fedilab.android.webview.CustomWebview
|
||||
|
@ -769,16 +768,18 @@
|
|||
android:id="@+id/status_reactions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
android:id="@+id/fake_edittext"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -791,31 +792,33 @@
|
|||
android:id="@+id/status_add_reaction"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_add"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reactions_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
android:layout_marginStart="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/status_action_container"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -827,8 +830,8 @@
|
|||
android:id="@+id/new_element"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/new_toot"
|
||||
android:backgroundTint="?attr/colorAccent"
|
||||
android:contentDescription="@string/new_toot"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -234,9 +234,9 @@
|
|||
android:drawableLeft="@drawable/ic_remove_red_eye"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/load_attachment_spoiler"
|
||||
android:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -260,9 +260,9 @@
|
|||
android:drawableStart="@drawable/ic_more_toot_content"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/display_toot_truncate"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone" />
|
||||
|
@ -409,8 +409,7 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:contentDescription="@string/play_video"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
/>
|
||||
android:src="@drawable/ic_play_arrow" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -782,16 +781,18 @@
|
|||
android:id="@+id/status_reactions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
android:id="@+id/fake_edittext"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -804,30 +805,31 @@
|
|||
android:id="@+id/status_add_reaction"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_add"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reactions_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
android:layout_marginStart="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:divider="?android:dividerHorizontal"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingStart="@dimen/fab_margin"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingEnd="@dimen/fab_margin"
|
||||
android:showDividers="end">
|
||||
|
||||
|
@ -29,35 +29,37 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/tag_name"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textSize="20sp" />
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_stats"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_stats"
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/count"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/count"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="40dp"
|
||||
android:textSize="25sp"
|
||||
android:layout_height="wrap_content"/>
|
||||
<com.github.mikephil.charting.charts.LineChart
|
||||
android:id="@+id/chart"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="50dp"
|
||||
/>
|
||||
android:layout_gravity="center"
|
||||
android:textSize="25sp" />
|
||||
|
||||
<com.github.mikephil.charting.charts.LineChart
|
||||
android:id="@+id/chart"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="50dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -50,9 +50,9 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:tint="@android:color/white"
|
||||
app:fabSize="mini"
|
||||
android:src="@drawable/ic_remove_red_eye"
|
||||
android:tint="@android:color/white"
|
||||
app:backgroundTint="?colorAccent"
|
||||
app:fabSize="mini"
|
||||
app:tint="?iconColorMenu" />
|
||||
</LinearLayout>
|
|
@ -2,11 +2,11 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fadingEdge="horizontal"
|
||||
android:fadingEdgeLength="20dp"
|
||||
android:requiresFadingEdge="horizontal"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
android:requiresFadingEdge="horizontal">
|
||||
|
||||
|
||||
<TextView
|
||||
|
@ -16,11 +16,11 @@
|
|||
android:width="40dp"
|
||||
android:height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:gravity="center"
|
||||
android:text="H1"
|
||||
android:textColor="?iconColorMenu"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
|
@ -30,11 +30,11 @@
|
|||
android:width="40dp"
|
||||
android:height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:gravity="center"
|
||||
android:text="H2"
|
||||
android:textColor="?iconColorMenu"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
|
@ -44,8 +44,8 @@
|
|||
android:width="40dp"
|
||||
android:height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:text="H3"
|
||||
android:gravity="center"
|
||||
android:text="H3"
|
||||
android:textColor="?iconColorMenu"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
|
@ -56,50 +56,50 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_bold" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_bold"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_Italic"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_italic" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_italic"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_indent"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_indent" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_indent"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_outdent"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_outdent" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_outdent"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_blockquote"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/ic_blockquote" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/ic_blockquote"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
|
@ -107,12 +107,12 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxWidth="20dp"
|
||||
android:maxHeight="20dp"
|
||||
android:padding="11dp"
|
||||
android:scaleType="centerInside"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/highlight" />
|
||||
android:src="@drawable/highlight"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
|
@ -120,31 +120,30 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_bullet_list" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_bullet_list"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_unordered_numbered"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_numbered_list" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_numbered_list"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/action_hr"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_hr" />
|
||||
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_hr"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
|
@ -152,10 +151,10 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_image" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_image"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
|
@ -163,10 +162,10 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_link" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_link"
|
||||
android:tint="?attr/iconColor" />
|
||||
|
||||
|
||||
<!--
|
||||
|
@ -185,8 +184,8 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:maxHeight="20dp"
|
||||
android:maxWidth="20dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:src="@drawable/icon_erase" />
|
||||
android:maxHeight="20dp"
|
||||
android:src="@drawable/icon_erase"
|
||||
android:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
|
@ -26,13 +26,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:paddingBottom="?attr/actionBarSize"
|
||||
android:scrollbars="none"/>
|
||||
android:scrollbars="none" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/no_action"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/no_action_text"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -53,6 +54,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:visibility="gone">
|
||||
|
||||
<ProgressBar
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:divider="@null"
|
||||
android:paddingBottom="?attr/actionBarSize"
|
||||
android:scrollbars="none"/>
|
||||
android:scrollbars="none" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/no_action"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,17 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
android:id="@+id/main_container"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/main_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<RelativeLayout
|
||||
android:background="@color/black"
|
||||
android:id="@+id/media_fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/black">
|
||||
<!-- Main Loader -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/loader"
|
||||
|
|
|
@ -15,14 +15,14 @@
|
|||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:paddingLeft="@dimen/fab_margin"
|
||||
android:paddingRight="@dimen/fab_margin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/fab_margin"
|
||||
android:paddingRight="@dimen/fab_margin">
|
||||
<!-- Listview Notifications -->
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/swipeContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
|
@ -34,28 +34,28 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:id="@+id/no_action"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:padding="10dp"
|
||||
android:gravity="center"
|
||||
android:textSize="25sp"
|
||||
android:layout_gravity="center"
|
||||
android:textStyle="italic|bold"
|
||||
android:typeface="serif"
|
||||
android:text="@string/no_stories"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:padding="10dp"
|
||||
android:text="@string/no_stories"
|
||||
android:textSize="25sp"
|
||||
android:textStyle="italic|bold"
|
||||
android:typeface="serif" />
|
||||
</RelativeLayout>
|
||||
<!-- Main Loader -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/loader"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
android:gravity="center"
|
||||
android:visibility="gone">
|
||||
|
||||
<ProgressBar
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -65,12 +65,12 @@
|
|||
<!-- Loader for next notifications -->
|
||||
<RelativeLayout
|
||||
android:id="@+id/loading_next_stories"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:gravity="bottom|center_horizontal"
|
||||
android:layout_height="20dp">
|
||||
android:visibility="gone">
|
||||
|
||||
<ProgressBar
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -4,16 +4,18 @@
|
|||
android:id="@+id/status_reactions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone">
|
||||
|
||||
<app.fedilab.android.helper.MastalabAutoCompleteTextView
|
||||
android:id="@+id/fake_edittext"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -26,28 +28,29 @@
|
|||
android:id="@+id/status_add_reaction"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_add"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/reactions_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_add_custom_emoji"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
android:layout_marginStart="10dp"
|
||||
app:tint="?attr/iconColor"
|
||||
android:contentDescription="@string/add_reaction"
|
||||
android:src="@drawable/ic_insert_emoticon"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:contentDescription="@string/add_reaction" />
|
||||
app:tint="?attr/iconColor" />
|
||||
</LinearLayout>
|
|
@ -16,16 +16,17 @@
|
|||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_height="match_parent">
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/shape_counter"
|
||||
android:id="@+id/counter"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:textColor="@color/mastodonC1"
|
||||
|
|
|
@ -45,14 +45,14 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"/>
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rated"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"/>
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -1,31 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/poll_item_percent"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/poll_item_percent"/>
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:drawablePadding="5dp"
|
||||
android:id="@+id/poll_item_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/poll_item_text"/>
|
||||
android:drawablePadding="5dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true" />
|
||||
</LinearLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:layout_marginTop="5dp"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:id="@+id/poll_item_value"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:indeterminate="false"/>
|
||||
android:layout_marginTop="5dp"
|
||||
android:indeterminate="false" />
|
||||
</LinearLayout>
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/quick_reply_container"
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:background="?colorPrimaryDark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/nav_header_height">
|
||||
android:layout_height="@dimen/nav_header_height"
|
||||
android:background="?colorPrimaryDark">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_ground_image"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:drawableEnd="@drawable/ic_search"
|
||||
android:inputType="text"
|
||||
android:singleLine="true"/>
|
||||
android:singleLine="true" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/loader"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/identity_proofs_list"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
|
@ -35,8 +35,7 @@
|
|||
android:id="@+id/set_live_type"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dp"
|
||||
/>
|
||||
android:layout_marginBottom="20dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/set_live_type_indication"
|
||||
|
|
|
@ -20,11 +20,12 @@
|
|||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/release_title"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -33,6 +34,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/release_notes"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -43,26 +45,26 @@
|
|||
android:textSize="14sp" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:drawablePadding="5dp"
|
||||
android:id="@+id/liberapay_support"
|
||||
style="@style/Base.Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:drawableStart="@drawable/ic_liberapay"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/about_opencollective" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dev_follow_title"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/follow_account_update"
|
||||
android:gravity="start"
|
||||
android:textSize="16sp" />
|
||||
android:text="@string/follow_account_update"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<app.fedilab.android.helper.ExpandableHeightListView
|
||||
android:id="@+id/lv_developers"
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/gnu_instance" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/twitter_accounts"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -47,8 +47,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</androidx.appcompat.widget.Toolbar>
|
|
@ -53,8 +53,8 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
|
|
|
@ -35,25 +35,28 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/toolbar_close"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:contentDescription="@string/close"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_close"
|
||||
android:tint="?attr/iconColorMenu" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/toolbar_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/toolbar_search"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -27,17 +27,16 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/tab_counter"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@+id/tab_icon"
|
||||
android:layout_alignEnd="@+id/tab_icon"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/shape_counter"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:textColor="@color/mastodonC1"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
|
@ -25,10 +25,10 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?backgroundColor"
|
||||
app:tabTextAppearance="@style/TabLayoutStyle"
|
||||
app:tabGravity="fill"
|
||||
app:tabMaxWidth="0dp"
|
||||
app:tabSelectedTextColor="?colorAccent" />
|
||||
app:tabSelectedTextColor="?colorAccent"
|
||||
app:tabTextAppearance="@style/TabLayoutStyle" />
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/viewpager"
|
||||
|
|
|
@ -14,17 +14,16 @@
|
|||
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
see <http://www.gnu.org/licenses>.
|
||||
-->
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
android:contentInsetStart="0dp"
|
||||
android:contentInsetLeft="0dp"
|
||||
android:contentInsetEnd="0dp"
|
||||
android:background="?colorPrimary"
|
||||
android:contentInsetRight="0dp"
|
||||
app:contentInsetEnd="0dp"
|
||||
app:contentInsetLeft="0dp"
|
||||
|
|
Loading…
Reference in New Issue