李俊才 1 год назад
Родитель
Сommit
c29437f8aa
6 измененных файлов: 0 добавлений и 156 удалений
  1. +0
    -13
      app/src/p_common/main/res/drawable/bg_diff_black.xml
  2. +0
    -9
      app/src/p_common/main/res/drawable/round_corner_diff_flag_bg.xml
  3. +0
    -25
      app/src/p_common/main/res/layout/diff_drag_text_block.xml
  4. +0
    -62
      app/src/p_common/main/res/layout/item_story_user.xml
  5. +0
    -23
      base/src/main/res/layout/load_widget.xml
  6. +0
    -24
      base/src/main/res/values/themes.xml

+ 0
- 13
app/src/p_common/main/res/drawable/bg_diff_black.xml Просмотреть файл

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid
android:color="@color/c_font_a_50"/>

<corners
android:radius="11dp"/>

<stroke
android:width="@dimen/dp_1"
android:color="@color/c_white"/>

</shape>

+ 0
- 9
app/src/p_common/main/res/drawable/round_corner_diff_flag_bg.xml Просмотреть файл

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/c_black_50" />

<corners android:radius="11dp"/>
<padding
android:left="2dp"
android:right="2dp" android:top="@dimen/dp_2" android:bottom="@dimen/dp_2"/>
</shape>

+ 0
- 25
app/src/p_common/main/res/layout/diff_drag_text_block.xml Просмотреть файл

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="22dp"
android:orientation="horizontal"
android:background="@drawable/bg_diff_black"
android:gravity="center_vertical"
android:paddingLeft="9dp"
android:paddingRight="9dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/diff_orignal"
android:textColor="@color/c_white"
android:textSize="@dimen/sp_12" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="@string/diff_enhanced"
android:textColor="@color/c_white"
android:textSize="@dimen/sp_12" />
</LinearLayout>

+ 0
- 62
app/src/p_common/main/res/layout/item_story_user.xml Просмотреть файл

@@ -1,62 +0,0 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/llItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/c_white"
android:orientation="vertical"
tools:context="com.bigwinepot.nwdn.pages.story.common.ui.StoryPostItemVH"
>

<!-- 头部 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_35"
android:layout_marginBottom="@dimen/dp_12"
android:layout_marginTop="@dimen/dp_16"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="@dimen/dp_15"
>

<androidx.cardview.widget.CardView
android:layout_width="@dimen/dp_35"
android:layout_height="@dimen/dp_35"
app:cardBackgroundColor="@color/c_white"
app:cardElevation="0dp"
app:cardCornerRadius="18dp">

<ImageView
android:id="@+id/ivHeader"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />

</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/tvUserName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_8"
android:layout_marginRight="@dimen/dp_20"
android:maxLines="1"
android:ellipsize="end"
android:textColor="@color/c_font_a"
android:textSize="16sp"
android:textStyle="bold" />

</LinearLayout>

<!-- 灰色底线 -->
<View
android:id="@+id/vBottomLine"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_1"
android:background="@color/c_bg_c"
android:layout_marginStart="@dimen/dp_15"
/>

</LinearLayout>

+ 0
- 23
base/src/main/res/layout/load_widget.xml Просмотреть файл

@@ -1,23 +0,0 @@
<?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="match_parent"
android:gravity="center">


<com.shareopen.library.dialog.ErrorView
android:id="@+id/load_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone" />


<com.shareopen.library.dialog.LoadingView
android:id="@+id/load_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"/>


</FrameLayout>

+ 0
- 24
base/src/main/res/values/themes.xml Просмотреть файл

@@ -12,28 +12,4 @@
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>

<!-- load view-->
<declare-styleable name="LoadView">
<attr name="icon" format="reference"/>
<attr name="iconSize" format="dimension"/>
<attr name="loadingBg" format="reference"/>
<attr name="loadingText" format="string"/>
<attr name="loadingTextColor" format="color"/>
<attr name="errorIcon" format="reference"/>
<attr name="errorIconSize" format="dimension"/>
<attr name="errorText" format="string"/>
<attr name="errorTextColor" format="color"/>
</declare-styleable>

<declare-styleable name="MaxHeightRecyclerView">
<attr name="maxHeight" format="dimension" />
</declare-styleable>

<declare-styleable name="SquareProgressBar">
<attr name="cornerRadius" format="dimension" />
<attr name="strokeWidth" format="dimension" />
<attr name="normalColor" format="color" />
<attr name="progressColor" format="color" />
</declare-styleable>
</resources>

Загрузка…
Отмена
Сохранить