Commit d6795d34 authored by Thomas's avatar Thomas
Browse files

Settings more faster

parent 59584bbc
Pipeline #302191 passed with stage
in 6 minutes and 26 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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:id="@+id/indication_story"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:textColor="@color/green"
android:background="@drawable/green_border"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment