update:2019.12.03
fix: add:更新在fragment中接收广播消息更新界面
This commit is contained in:
@@ -28,34 +28,36 @@
|
||||
android:background="@drawable/ic_kind_detail" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<include layout="@layout/include_line_horizontal" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
||||
android:text="可升级应用"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/manage_tv_updateNum"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="0个应用可以升级"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
android:text="0"
|
||||
android:textSize="10sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/include_line_horizontal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="可升级应用"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<include layout="@layout/include_line_horizontal" />
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
@@ -52,6 +52,15 @@
|
||||
android:textSize="12sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_tv_size"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="1.00M"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<RatingBar
|
||||
android:id="@+id/app_rating_bar"
|
||||
@@ -60,23 +69,20 @@
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/app_card_view"
|
||||
android:layout_width="55dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="10dp"
|
||||
app:cardCornerRadius="5dp">
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/app_btn_download"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:textColor="#55b68a"
|
||||
android:stateListAnimator="@null"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/btn_selector"
|
||||
android:text="下载"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/btn_style_none"
|
||||
android:text="下载中"
|
||||
android:textSize="@dimen/sp_10"
|
||||
android:visibility="visible" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@mipmap/ic_launcher_round" />
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/kind_tv_name"
|
||||
|
||||
@@ -60,23 +60,16 @@
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/local_app_card_view"
|
||||
android:layout_width="55dp"
|
||||
android:layout_height="35dp"
|
||||
<Button
|
||||
android:id="@+id/local_app_btn_download"
|
||||
android:layout_width="@dimen/dp_40"
|
||||
android:layout_height="@dimen/dp_20"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/btn_style_open"
|
||||
android:layout_marginRight="10dp"
|
||||
app:cardCornerRadius="5dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/local_app_btn_download"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/btn_selector"
|
||||
android:text="删除"
|
||||
android:visibility="visible" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
android:stateListAnimator="@null"
|
||||
android:text="删除"
|
||||
android:visibility="visible" />
|
||||
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user