UNPKG

@wu_rong_tai/react-native-cos-xml

Version:
114 lines (107 loc) 5.23 kB
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2010-2020 Tencent Cloud. All rights reserved. ~ ~ Permission is hereby granted, free of charge, to any person obtaining a copy ~ of this software and associated documentation files (the "Software"), to deal ~ in the Software without restriction, including without limitation the rights ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ~ copies of the Software, and to permit persons to whom the Software is ~ furnished to do so, subject to the following conditions: ~ ~ The above copyright notice and this permission notice shall be included in all ~ copies or substantial portions of the Software. ~ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ~ SOFTWARE. --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#55deb887"> <LinearLayout android:id="@+id/titleLayoutId" android:layout_width="match_parent" android:layout_height="50dp" android:orientation="horizontal" android:background="#ff000000"> <ImageView android:id="@+id/backId" android:layout_marginLeft="10dp" android:layout_width="wrap_content" android:layout_height="match_parent" android:src="@drawable/ic_keyboard_arrow_left_white_36dp" android:background="?android:attr/selectableItemBackground"/> <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:text="COS-SDK-LOG" android:textColor="#ffffffff" android:paddingLeft="0dp" android:gravity="left|center_vertical" /> </LinearLayout> <FrameLayout android:layout_below="@+id/titleLayoutId" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="2dp"> <ListView android:id="@+id/item_list" android:layout_width="match_parent" android:layout_height="match_parent"/> </FrameLayout> </RelativeLayout> <!--<androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"--> <!--android:layout_height="match_parent"--> <!--android:background="#55deb887"--> <!--tools:context="com.tencent.qcloud.logutils.LogActivity">--> <!--<LinearLayout--> <!--android:id="@+id/titleLayoutId"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="50dp"--> <!--android:orientation="horizontal"--> <!--app:layout_constraintTop_toTopOf="parent"--> <!--android:background="#ff000000"--> <!--&gt;--> <!--<ImageView--> <!--android:id="@+id/backId"--> <!--android:layout_marginLeft="10dp"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="match_parent"--> <!--android:src="@drawable/ic_keyboard_arrow_left_white_36dp"--> <!--android:background="?attr/selectableItemBackground"/>--> <!--<TextView--> <!--android:layout_width="match_parent"--> <!--android:layout_height="match_parent"--> <!--android:text="COS-SDK-LOG"--> <!--android:textColor="#ffffffff"--> <!--android:paddingLeft="0dp"--> <!--android:gravity="left|center_vertical"--> <!--/>--> <!--</LinearLayout>--> <!--<FrameLayout--> <!--android:layout_width="match_parent"--> <!--android:layout_height="match_parent"--> <!--android:layout_marginTop="52dp"--> <!--app:layout_constraintTop_toBottomOf="@id/titleLayoutId">--> <!--<androidx.swiperefreshlayout.widget.SwipeRefreshLayout--> <!--android:id="@+id/swipeRefreshId"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="match_parent">--> <!--<androidx.recyclerview.widget.RecyclerView--> <!--android:id="@+id/item_list"--> <!--android:layout_width="325dp"--> <!--android:layout_height="294dp"--> <!--tools:layout_editor_absoluteX="173dp"--> <!--tools:layout_editor_absoluteY="0dp" />--> <!--</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>--> <!--</FrameLayout>--> <!--</androidx.constraintlayout.widget.ConstraintLayout>-->