Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a48df2f6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add lines between sections in inspector headers"

parents 03bf0cc9 f316912d
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android"
    android:insetTop="10dp"
    android:insetBottom="10dp" >
    <shape xmlns:android="http://schemas.android.com/apk/res/android">
        <size android:height="1dp"/>
        <solid android:color="@color/inspector_section_divider"/>
    </shape>
</inset>
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@
            android:layout_height="wrap_content"/>

        <com.android.documentsui.inspector.actions.ActionView
            android:paddingTop="10dp"
            android:id="@+id/inspector_show_in_provider_view"
            android:orientation="vertical"
            android:layout_width="match_parent"
@@ -52,7 +51,6 @@
            android:visibility="gone"/>

        <com.android.documentsui.inspector.actions.ActionView
            android:paddingTop="10dp"
            android:id="@+id/inspector_app_defaults_view"
            android:orientation="vertical"
            android:layout_width="match_parent"
+21 −13
Original line number Diff line number Diff line
@@ -14,18 +14,26 @@
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:divider="@drawable/inspector_separator"
    android:showDividers="beginning"
    android:paddingStart="10dp"
    android:paddingEnd="10dp">

    <TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
    android:paddingTop="10dp"
    android:paddingBottom="10dp"
    android:paddingStart="16dp"
    android:paddingEnd="16dp"
        android:id="@+id/inspector_header_title"
        android:paddingStart="6dp"
        android:paddingEnd="6dp"
        android:paddingTop="5dp"
        android:paddingBottom="5dp"
        android:layout_gravity="center_vertical"
        android:fontFamily="sans-serif-medium"
        android:textSize="15sp"
        android:textAlignment="viewStart"
    android:textColor="@color/inspector_section_title">

</TextView>
        android:textColor="@color/inspector_section_title"/>
</LinearLayout>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -78,5 +78,6 @@
    <color name="inspector_value">#ff939393</color>
    <color name="inspector_link">#6633b5e5</color>
    <color name="inspector_section_title">#ff939393</color>
    <color name="inspector_section_divider">#E0E0E0</color>
    <color name="inspector_title_background">#40000000</color>
</resources>
+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@ import android.view.ViewGroup;
import android.widget.ScrollView;

import com.android.documentsui.R;
import com.android.documentsui.base.Shared;
import com.android.documentsui.inspector.InspectorController.DataSupplier;

/**
Loading