2016-05-29 23:34:00 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2008 The Android Open Source Project
|
2015-05-10 22:43:05 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Defines the layout of the application snippet that appears on top of the
|
|
|
|
installation screens
|
2016-05-29 23:34:00 +03:00
|
|
|
--><!-- The snippet about the application - title, icon, description. -->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:id="@+id/app_snippet"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:paddingEnd="16dip"
|
2016-02-25 16:56:23 +00:00
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingRight="16dip"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:paddingStart="16dip"
|
|
|
|
android:paddingTop="16dip">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/app_icon"
|
|
|
|
android:layout_width="48dip"
|
|
|
|
android:layout_height="48dip"
|
2016-02-25 16:56:23 +00:00
|
|
|
android:layout_marginLeft="8dip"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:layout_marginStart="8dip"
|
2015-08-17 13:06:39 +03:00
|
|
|
android:background="@android:color/transparent"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:gravity="start"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:src="@drawable/ic_launcher" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/app_name"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:ellipsize="end"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingEnd="16dip"
|
2016-02-25 16:56:23 +00:00
|
|
|
android:paddingLeft="16dip"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:paddingRight="16dip"
|
2015-05-10 22:43:05 +02:00
|
|
|
android:paddingStart="16dip"
|
2016-05-29 23:34:00 +03:00
|
|
|
android:shadowColor="@color/shadow"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
tools:text="App Name" />
|
2015-05-10 22:43:05 +02:00
|
|
|
|
2016-05-29 23:34:00 +03:00
|
|
|
</LinearLayout>
|
2015-05-10 22:43:05 +02:00
|
|
|
|