Update animations
This commit is contained in:
@ -275,28 +275,28 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:duplicateParentState="true"
|
||||
android:textSize="14sp"
|
||||
android:paddingStart="64dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/weather_provider_error"
|
||||
android:textColor="@color/errorColorText"
|
||||
android:letterSpacing="0"
|
||||
android:paddingTop="8dp"
|
||||
android:fontFamily="@font/google_sans_bold"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/weather_provider_error_missing_key"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
|
||||
app:textAllCaps="false" />
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:duplicateParentState="true"
|
||||
android:textSize="14sp"
|
||||
android:paddingTop="8dp"
|
||||
android:id="@+id/weather_provider_location_error"
|
||||
android:textColor="@color/errorColorText"
|
||||
android:letterSpacing="0"
|
||||
android:fontFamily="@font/google_sans_bold"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginStart="64dp"
|
||||
android:visibility="gone"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
|
||||
app:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
|
@ -43,22 +43,34 @@
|
||||
android:text="@string/settings_sort_glance_providers_subtitle"
|
||||
android:textAppearance="@style/AnotherWidget.Settings.SubHeader"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:alpha="0"
|
||||
android:id="@+id/list_container"
|
||||
android:orientation="vertical">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="64dp">
|
||||
<ProgressBar
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_margin="16dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:indeterminateTint="@color/colorAccent"
|
||||
android:indeterminate="true"
|
||||
android:id="@+id/loader" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:id="@+id/providers_list" />
|
||||
</LinearLayout>
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/list_container">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:background="@color/colorPrimary"
|
||||
android:id="@+id/providers_list" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/footer"
|
||||
|
@ -80,12 +80,12 @@
|
||||
android:paddingStart="64dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/weather_provider_error"
|
||||
android:textColor="@color/errorColorText"
|
||||
android:letterSpacing="0"
|
||||
android:fontFamily="@font/google_sans_bold"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/weather_provider_error_missing_key"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
|
||||
app:textAllCaps="false" />
|
||||
<LinearLayout
|
||||
|
Reference in New Issue
Block a user