/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/item_discovery_simple_loading.xml
27 строк
1 KB
alexzatsepin
[android] Fixed look of card backgrounds on discovery screen for night theme. It was broken after material components theme integration
15 сен 2020, 14:16
15 сен 2020, 14:16
e684c84
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" android:padding="@dimen/margin_quarter" android:clipToPadding="false"> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" app:cardBackgroundColor="?cardBackground"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="@dimen/discovery_search_item_min_height" android:orientation="vertical" android:gravity="center_horizontal"> <ProgressBar android:id="@+id/progress" android:layout_width="@dimen/margin_base_plus" android:layout_height="@dimen/margin_base_plus" android:layout_marginTop="@dimen/margin_double_plus"/> <include layout="@layout/item_discovery_simple_message"/> </LinearLayout> </androidx.cardview.widget.CardView> </FrameLayout>