use new design for other badge instances
This commit is contained in:
		
							parent
							
								
									f6a7029fed
								
							
						
					
					
						commit
						ce1756db62
					
				@ -0,0 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
 | 
			
		||||
    <stroke android:width="1dp" android:color="#429fff" />
 | 
			
		||||
    <corners android:radius="2dp" />
 | 
			
		||||
</shape>
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
 | 
			
		||||
    <stroke android:width="1dp" android:color="#429fff" />
 | 
			
		||||
    <stroke android:width="1dp" android:color="#777777" />
 | 
			
		||||
    <corners android:radius="2dp" />
 | 
			
		||||
</shape>
 | 
			
		||||
 | 
			
		||||
@ -1,17 +1,6 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<TextView
 | 
			
		||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:layout_width="wrap_content"
 | 
			
		||||
    android:layout_height="wrap_content"
 | 
			
		||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:background="@drawable/app_version_item_status_new"
 | 
			
		||||
    android:text="@string/app__newly_added"
 | 
			
		||||
    android:textSize="12sp"
 | 
			
		||||
    android:paddingTop="4dp"
 | 
			
		||||
    android:paddingBottom="4dp"
 | 
			
		||||
    android:paddingStart="10dp"
 | 
			
		||||
    android:paddingLeft="10dp"
 | 
			
		||||
    android:paddingEnd="10dp"
 | 
			
		||||
    android:paddingRight="10dp"
 | 
			
		||||
    android:textAllCaps="true"
 | 
			
		||||
    android:textColor="@color/fdroid_blue"
 | 
			
		||||
    android:background="@drawable/app_tag_new_background"
 | 
			
		||||
    />
 | 
			
		||||
    android:textColor="#429fff"
 | 
			
		||||
    style="@style/AppVersionStatus" />
 | 
			
		||||
							
								
								
									
										6
									
								
								app/src/main/res/layout-v14/app_status_suggested.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								app/src/main/res/layout-v14/app_status_suggested.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:background="@drawable/app_version_item_status_suggested"
 | 
			
		||||
    android:text="@string/app_suggested"
 | 
			
		||||
    android:textColor="#777777"
 | 
			
		||||
    style="@style/AppVersionStatus" />
 | 
			
		||||
@ -41,11 +41,8 @@
 | 
			
		||||
                    android:layout_height="match_parent"
 | 
			
		||||
                    android:paddingTop="3dp">
 | 
			
		||||
 | 
			
		||||
                    <TextView android:id="@+id/status_suggested"
 | 
			
		||||
                        style="@style/AppVersionStatus"
 | 
			
		||||
                        android:background="@drawable/app_version_item_status_suggested"
 | 
			
		||||
                        android:textColor="#429fff"
 | 
			
		||||
                        android:text="@string/app_suggested" />
 | 
			
		||||
                    <include layout="@layout/app_status_suggested"
 | 
			
		||||
                        android:id="@+id/status_suggested" />
 | 
			
		||||
 | 
			
		||||
                    <TextView android:id="@+id/status_installed"
 | 
			
		||||
                        style="@style/AppVersionStatus"
 | 
			
		||||
 | 
			
		||||
@ -1,16 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<TextView
 | 
			
		||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:layout_width="wrap_content"
 | 
			
		||||
    android:layout_height="wrap_content"
 | 
			
		||||
    android:text="@string/app__newly_added"
 | 
			
		||||
    android:textSize="12sp"
 | 
			
		||||
    android:paddingTop="4dp"
 | 
			
		||||
    android:paddingBottom="4dp"
 | 
			
		||||
    android:paddingStart="10dp"
 | 
			
		||||
    android:paddingLeft="10dp"
 | 
			
		||||
    android:paddingEnd="10dp"
 | 
			
		||||
    android:paddingRight="10dp"
 | 
			
		||||
    android:textColor="@color/fdroid_blue"
 | 
			
		||||
    android:background="@drawable/app_tag_new_background"
 | 
			
		||||
    />
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user