CopyPastor

Detecting plagiarism made easy.

Score: 0.7773460745811462; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-04-10
by ORBIT

Original Post

Original - Posted on 2016-09-22
by Tarit Ray



            
Present in both answers; Present only in the new answer; Present only in the old answer;

you can add @style page name <style name="value_big" parent="@android:style/TextAppearance.Medium"> <item name="android:textSize">35sp</item> <item name="android:textColor">@color/white</item> <item name="android:textStyle">bold</item> <item name="android:typeface">sans</item> <item name="android:scrollbarAlwaysDrawVerticalTrack">true</item> </style> call that inside your edit text <EditText android:id="@+id/msgtext" android:layout_width="fill_parent" style="@style/value_big" android:layout_alignParentLeft="true" android:layout_marginLeft="10dip" android:layout_marginTop="10dip" android:layout_marginRight="10dip" android:inputType="textMultiLine" android:layout_height="150dip" android:gravity="top" android:padding="5dip"> </EditText>

Write this code inside `Manifest` file in the `Activity` where you do not want to open the keyboard.
android:windowSoftInputMode="stateHidden"
Manifest file:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.projectt" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="24" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".Splash" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".Login" **android:windowSoftInputMode="stateHidden"** android:label="@string/app_name" > </activity> </application> </manifest>

        
Present in both answers; Present only in the new answer; Present only in the old answer;