0
표시되지 않습니다, 그것은 내가 어떤 주제 나 활동이나 글고 치기에 스타일의 모든 종류를 적용하지 않은이난 내 레이아웃 화면에서 글고 치기를 사용하는 경우 글고 잘
처럼 날을 표시합니다.
누구나 해결책을 알 수 있습니까? 여기
내 레이아웃 코드<?xml version="1.0" encoding="utf-8"?>
다음
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00529B">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:padding="20dip">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:text=""
android:hint="Member ID"
android:ems="10"
android:maxLines="1"
android:id="@+id/txt_member_id"
android:gravity="center" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:text=""
android:hint="Mobile Number"
android:ems="10"
android:id="@+id/txt_mobile"
android:maxLength="10"
android:maxLines="1"
android:gravity="center" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:text=""
android:ems="10"
android:hint="Key"
android:maxLines="1"
android:id="@+id/txt_key"
android:gravity="center" />
<Button
android:text="Button"
android:background="@drawable/button_style"
android:textColor="@color/button_text_color"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/btn_login" />
</LinearLayout>
</LinearLayout>
가 내 build.gradle입니다
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-alpha1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
관련된에 우리가 어떻게되어 있습니다 코드를 보지 않고? –
xml 파일은 어디에 있습니까? – Rustam
android studio 2.2 미리보기를 사용하고 있습니까? –