안녕메모장과 같은 편집 가능한 텍스트 파일로 글고을 설정하는 방법
내 문제가있다 그 나는 ScrollView
과 EditText
빈 화면이있을 때. 내 앱이 사용자가 지금까지 무엇을 쓸 수있게하고 싶었고, 앱을 실행했을 때 BUT 중간에 입력 만 허용되었습니다. 내가/필요하도록한다
화면입니다 : 여기
여기
내 화면입니다 (I 전체 화면을 커버하기 글고을 뻗어) 코드 :<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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:fitsSystemWindows="true"
tools:context="onhar.personalnote.Writing_Table">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="1000dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="1000dp">
</RelativeLayout>
</ScrollView>
</RelativeLayout>
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@drawable/plusicon" />
<include layout="@layout/content_writing__table" />
</android.support.design.widget.CoordinatorLayout>
이것이 가능합니까? 위치는 int이며
코드를 공유해주십시오. –
지금 확인하십시오 – BusinessCash