remove barcode from conversation
This commit is contained in:
parent
b6fc8851a7
commit
32201af76c
@ -124,16 +124,6 @@ public class MessagesActivity extends Activity {
|
|||||||
textViewSelectedContact = findViewById(R.id.textViewSelectedContact);
|
textViewSelectedContact = findViewById(R.id.textViewSelectedContact);
|
||||||
imageViewSelectedContact = findViewById(R.id.imageViewSelectedContact);
|
imageViewSelectedContact = findViewById(R.id.imageViewSelectedContact);
|
||||||
|
|
||||||
ImageView imageBarcode = findViewById(R.id.imageBarcode);
|
|
||||||
imageBarcode.setOnClickListener(v -> {
|
|
||||||
try {
|
|
||||||
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
|
|
||||||
startActivityForResult(intent, 0);
|
|
||||||
} catch (Exception e) {
|
|
||||||
showErrorDialog(getResources().getString(R.string.barcodeError));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// change tab header fontFace
|
// change tab header fontFace
|
||||||
TextView textView1 = findViewById(R.id.textView1);
|
TextView textView1 = findViewById(R.id.textView1);
|
||||||
textView1.setTypeface(Typeface.createFromAsset(getAssets(), "Sketch_Block.ttf"));
|
textView1.setTypeface(Typeface.createFromAsset(getAssets(), "Sketch_Block.ttf"));
|
||||||
|
@ -214,20 +214,6 @@
|
|||||||
android:autofillHints="">
|
android:autofillHints="">
|
||||||
</EditText>
|
</EditText>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
|
||||||
android:layout_weight="0"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingTop="4dp">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/imageBarcode"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@drawable/barcode"
|
|
||||||
android:paddingTop="2dp"
|
|
||||||
android:layout_margin="3dp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/imageButtonSend"
|
android:id="@+id/imageButtonSend"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -213,19 +213,6 @@
|
|||||||
android:autofillHints="">
|
android:autofillHints="">
|
||||||
</EditText>
|
</EditText>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
|
||||||
android:layout_weight="0"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingTop="4dp">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/imageBarcode"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@drawable/barcode"
|
|
||||||
android:layout_margin="3dp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/imageButtonSend"
|
android:id="@+id/imageButtonSend"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user