添加SOS广播接收
This commit is contained in:
		
							
								
								
									
										16
									
								
								libappbase/src/main/res/layout/activity_log.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								libappbase/src/main/res/layout/activity_log.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
<?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"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent">
 | 
			
		||||
 | 
			
		||||
    <cc.winboll.studio.libappbase.LogView
 | 
			
		||||
        android:orientation="horizontal"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="0dp"
 | 
			
		||||
        android:layout_weight="1.0"
 | 
			
		||||
        android:id="@+id/logview"/>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
							
								
								
									
										121
									
								
								libappbase/src/main/res/layout/view_log.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										121
									
								
								libappbase/src/main/res/layout/view_log.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,121 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<RelativeLayout
 | 
			
		||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:background="#FF000000">
 | 
			
		||||
 | 
			
		||||
    <RelativeLayout
 | 
			
		||||
        xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
        android:orientation="horizontal"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="40dp"
 | 
			
		||||
        android:layout_alignParentTop="true"
 | 
			
		||||
        android:background="@drawable/bg_shadow"
 | 
			
		||||
        android:id="@+id/viewlogRelativeLayoutToolbar">
 | 
			
		||||
 | 
			
		||||
        <Button
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="36dp"
 | 
			
		||||
            android:text="Clean"
 | 
			
		||||
            android:textSize="14dp"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:id="@+id/viewlogButtonClean"
 | 
			
		||||
            android:layout_marginLeft="5dp"/>
 | 
			
		||||
 | 
			
		||||
        <TextView
 | 
			
		||||
            android:background="#FF000000"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="24dp"
 | 
			
		||||
            android:text="LV:"
 | 
			
		||||
            android:layout_toRightOf="@+id/viewlogButtonClean"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:id="@+id/viewlogTextView1"
 | 
			
		||||
            android:textColor="#FFFFFFFF"/>
 | 
			
		||||
 | 
			
		||||
        <Spinner
 | 
			
		||||
            android:background="#FFFFFFFF"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="24dp"
 | 
			
		||||
            android:layout_toRightOf="@+id/viewlogTextView1"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:id="@+id/viewlogSpinner1"/>
 | 
			
		||||
 | 
			
		||||
        <CheckBox
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="24dp"
 | 
			
		||||
            android:layout_toLeftOf="@+id/viewlogButtonCopy"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:text="Selectable"
 | 
			
		||||
            android:background="#FFFFFFFF"
 | 
			
		||||
            android:paddingRight="10dp"
 | 
			
		||||
            android:textSize="16dp"
 | 
			
		||||
            android:id="@+id/viewlogCheckBoxSelectable"/>
 | 
			
		||||
 | 
			
		||||
        <Button
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="36dp"
 | 
			
		||||
            android:text="Copy"
 | 
			
		||||
            android:layout_alignParentRight="true"
 | 
			
		||||
            android:textSize="14dp"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:id="@+id/viewlogButtonCopy"
 | 
			
		||||
            android:layout_marginRight="5dp"/>
 | 
			
		||||
 | 
			
		||||
    </RelativeLayout>
 | 
			
		||||
 | 
			
		||||
    <LinearLayout
 | 
			
		||||
        android:orientation="horizontal"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="40dp"
 | 
			
		||||
        android:background="@drawable/bg_shadow"
 | 
			
		||||
        android:layout_below="@+id/viewlogRelativeLayoutToolbar"
 | 
			
		||||
        android:id="@+id/viewlogLinearLayout1"
 | 
			
		||||
        android:gravity="center_vertical">
 | 
			
		||||
 | 
			
		||||
        <CheckBox
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:text="ALL"
 | 
			
		||||
            android:id="@+id/viewlogCheckBox1"/>
 | 
			
		||||
 | 
			
		||||
        <androidx.recyclerview.widget.RecyclerView
 | 
			
		||||
            android:layout_width="0dp"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:background="@drawable/view_border"
 | 
			
		||||
            android:id="@+id/viewlogRecyclerView1"
 | 
			
		||||
            android:layout_weight="1.0"
 | 
			
		||||
            android:layout_marginRight="5dp"
 | 
			
		||||
            android:padding="2dp"/>
 | 
			
		||||
 | 
			
		||||
    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
    <RelativeLayout
 | 
			
		||||
        android:orientation="vertical"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_weight="1.0"
 | 
			
		||||
        android:layout_alignParentBottom="true"
 | 
			
		||||
        android:layout_below="@+id/viewlogLinearLayout1">
 | 
			
		||||
 | 
			
		||||
        <ScrollView
 | 
			
		||||
            android:layout_width="match_parent"
 | 
			
		||||
            android:layout_height="match_parent"
 | 
			
		||||
            android:background="#FF000000"
 | 
			
		||||
            android:id="@+id/viewlogScrollViewLog">
 | 
			
		||||
 | 
			
		||||
            <TextView
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="match_parent"
 | 
			
		||||
                android:text="Text"
 | 
			
		||||
                android:textColor="#FF00FF00"
 | 
			
		||||
                android:textIsSelectable="true"
 | 
			
		||||
                android:id="@+id/viewlogTextViewLog"/>
 | 
			
		||||
 | 
			
		||||
        </ScrollView>
 | 
			
		||||
 | 
			
		||||
    </RelativeLayout>
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										32
									
								
								libappbase/src/main/res/layout/view_logtag.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								libappbase/src/main/res/layout/view_logtag.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<androidx.cardview.widget.CardView
 | 
			
		||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
    android:layout_width="wrap_content"
 | 
			
		||||
    android:layout_height="wrap_content"
 | 
			
		||||
    app:cardBackgroundColor="#F5F5F5"
 | 
			
		||||
    app:cardElevation="4dp"
 | 
			
		||||
    app:cardCornerRadius="4dp"
 | 
			
		||||
    android:id="@+id/listviewauthinfoCardView1"
 | 
			
		||||
    android:layout_marginLeft="0dp"
 | 
			
		||||
    android:layout_marginRight="5dp">
 | 
			
		||||
 | 
			
		||||
    <LinearLayout
 | 
			
		||||
        android:orientation="horizontal"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content">
 | 
			
		||||
 | 
			
		||||
        <TextView
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="24dp"
 | 
			
		||||
            android:layout_marginLeft="5dp"
 | 
			
		||||
            android:id="@+id/viewlogtagTextView1"/>
 | 
			
		||||
 | 
			
		||||
        <CheckBox
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="24dp"
 | 
			
		||||
            android:id="@+id/viewlogtagCheckBox1"/>
 | 
			
		||||
 | 
			
		||||
    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
</androidx.cardview.widget.CardView>
 | 
			
		||||
		Reference in New Issue
	
	Block a user