8

Strange behavior of Android 9 patch image

view full story
linux-howto

http://stackoverflow.com – I am developing a chat application for that I am using 9 patch bubble Function for displaying the bubble on screen static void showMessage(String message, boolean leftSide) { Log.d("abc","show"); final TextView textView = new TextView(activity); textView.setTextColor(Color.BLACK); textView.setText(message); int bgRes = R.drawable.left_message_bg; LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); if (!leftSide) (HowTos)