-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(turn systime to may 1st) happy birthday, hyperceiler
- Loading branch information
Showing
7 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- rounded_corner.xml --> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
<corners android:radius="18dp" /> | ||
<solid android:color="#2AFC5B8D" /> | ||
</shape> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ Copyright (C) 2015 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 | ||
--> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:clickable="false" | ||
android:clipChildren="false" | ||
android:gravity="center_vertical" | ||
android:paddingStart="24dp" | ||
android:paddingTop="6dp" | ||
android:paddingEnd="24dp" | ||
android:paddingBottom="2dp"> | ||
|
||
<include layout="@layout/image_frame" /> | ||
|
||
<RelativeLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:layout_weight="1.0" | ||
android:background="@drawable/headtip_hyperceiler_background" | ||
android:gravity="center_vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/image_left" | ||
android:layout_width="92dp" | ||
android:layout_height="66dp" | ||
android:layout_alignParentStart="true" | ||
android:layout_centerVertical="true" | ||
android:paddingLeft="16dp" | ||
android:paddingRight="7dp" | ||
|
||
android:src="@drawable/ic_hyperceiler_cartoon" /> | ||
|
||
<TextView | ||
android:id="@android:id/title" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_toEndOf="@id/image_left" | ||
android:layout_centerVertical="true" | ||
android:clickable="true" | ||
android:enabled="false" | ||
android:focusable="false" | ||
android:focusableInTouchMode="false" | ||
android:inputType="textMultiLine" | ||
android:longClickable="true" | ||
android:paddingLeft="7dp" | ||
android:paddingTop="14dp" | ||
android:paddingRight="16dp" | ||
android:paddingBottom="14dp" | ||
android:textColor="#fc5b8d" | ||
android:textIsSelectable="true" /> | ||
</RelativeLayout> | ||
|
||
<!-- Preference should place its actual preference widget here. --> | ||
<LinearLayout | ||
android:id="@android:id/widget_frame" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:clipChildren="false" | ||
android:gravity="center" | ||
android:minWidth="@dimen/preference_widget_minWidth" | ||
android:orientation="vertical" /> | ||
|
||
<ImageView | ||
android:id="@+id/arrow_right" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center|end" | ||
android:gravity="center" | ||
android:src="@drawable/ic_preference_arrow_right" /> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters