app/src/main/res/layout/authenticator_activity.xml
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com>
~ All Rights Reserved.
-->
<ScrollView
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:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<!-- Using android:layout_marginTop here to compensate for CardView's margin. -->
<!-- Using dp as unit for android:textSize because this TextView functions as imagery. -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/screen_edge_horizontal_margin"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:text="@string/app_name"
android:textColor="@android:color/white"
android:textSize="72dp"
tools:ignore="SpUsage" />
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<!-- Using app:cardMaxElevation as margin. -->
<me.zhanghai.android.douya.ui.FriendlyCardView
android:layout_width="@dimen/card_view_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/screen_edge_horizontal_margin_negative_half"
android:layout_marginBottom="@dimen/screen_edge_horizontal_margin_negative_half"
app:cardMaxElevation="@dimen/screen_edge_horizontal_margin">
<LinearLayout
android:id="@+id/form"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<me.zhanghai.android.materialedittext.MaterialTextInputLayout
后面还有 75 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
