How do I set the border colour of my TextView programatically?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm trying to change the border colour of my TextView programatically, depending on the if condition in my activity. Here's my ViewContact.java code:



if (bob == 0) {
//change colour depending on value

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#DA850B")); // change color
}

if (bob == 1) {

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#0A7FDA")); // change color

}

if (bob == 2) {

etc...

}


I've looked here Changing color in a shape inside a layer-list programmatically and here Android change color stroke (border) programmatically and elsewhere for a solution but can't get it working.



Can you help?



Here is the xml for my TextView in the ViewContact.java activity, activity_view_contact.xml:



        <TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:background="@drawable/textboxes"
/>


And here is textboxes.xml:



<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--space between each text box-->
<item
android:top="3dp"
android:id="@+id/textbox_shape"
>
<shape android:shape="rectangle">
<!--formatting of colour inside the box-->
<solid android:color="@android:color/transparent" />
<!--formatting of lines on the box-->
<stroke
android:width="1dip"
/>
<corners android:radius="3dp"/>
<!--text formatting in the box-->
<padding
android:textSize="30dp"
android:top="15dp"
android:bottom="1dp"
android:left="20dp"
android:right="20dp"/>
</shape>
</item>
</layer-list>









share|improve this question


















  • 1





    Have u check this stackoverflow.com/a/39489442/7666442

    – Nilesh Rathod
    Jan 3 at 11:53











  • @NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

    – CHarris
    Jan 3 at 12:46


















0















I'm trying to change the border colour of my TextView programatically, depending on the if condition in my activity. Here's my ViewContact.java code:



if (bob == 0) {
//change colour depending on value

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#DA850B")); // change color
}

if (bob == 1) {

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#0A7FDA")); // change color

}

if (bob == 2) {

etc...

}


I've looked here Changing color in a shape inside a layer-list programmatically and here Android change color stroke (border) programmatically and elsewhere for a solution but can't get it working.



Can you help?



Here is the xml for my TextView in the ViewContact.java activity, activity_view_contact.xml:



        <TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:background="@drawable/textboxes"
/>


And here is textboxes.xml:



<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--space between each text box-->
<item
android:top="3dp"
android:id="@+id/textbox_shape"
>
<shape android:shape="rectangle">
<!--formatting of colour inside the box-->
<solid android:color="@android:color/transparent" />
<!--formatting of lines on the box-->
<stroke
android:width="1dip"
/>
<corners android:radius="3dp"/>
<!--text formatting in the box-->
<padding
android:textSize="30dp"
android:top="15dp"
android:bottom="1dp"
android:left="20dp"
android:right="20dp"/>
</shape>
</item>
</layer-list>









share|improve this question


















  • 1





    Have u check this stackoverflow.com/a/39489442/7666442

    – Nilesh Rathod
    Jan 3 at 11:53











  • @NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

    – CHarris
    Jan 3 at 12:46














0












0








0


0






I'm trying to change the border colour of my TextView programatically, depending on the if condition in my activity. Here's my ViewContact.java code:



if (bob == 0) {
//change colour depending on value

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#DA850B")); // change color
}

if (bob == 1) {

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#0A7FDA")); // change color

}

if (bob == 2) {

etc...

}


I've looked here Changing color in a shape inside a layer-list programmatically and here Android change color stroke (border) programmatically and elsewhere for a solution but can't get it working.



Can you help?



Here is the xml for my TextView in the ViewContact.java activity, activity_view_contact.xml:



        <TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:background="@drawable/textboxes"
/>


And here is textboxes.xml:



<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--space between each text box-->
<item
android:top="3dp"
android:id="@+id/textbox_shape"
>
<shape android:shape="rectangle">
<!--formatting of colour inside the box-->
<solid android:color="@android:color/transparent" />
<!--formatting of lines on the box-->
<stroke
android:width="1dip"
/>
<corners android:radius="3dp"/>
<!--text formatting in the box-->
<padding
android:textSize="30dp"
android:top="15dp"
android:bottom="1dp"
android:left="20dp"
android:right="20dp"/>
</shape>
</item>
</layer-list>









share|improve this question














I'm trying to change the border colour of my TextView programatically, depending on the if condition in my activity. Here's my ViewContact.java code:



if (bob == 0) {
//change colour depending on value

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#DA850B")); // change color
}

if (bob == 1) {

LayerDrawable layerDrawable = (LayerDrawable) ContextCompat
.getDrawable(ViewContact.this,R.drawable.textboxes);
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
gradientDrawable.setColor(Color.parseColor("#0A7FDA")); // change color

}

if (bob == 2) {

etc...

}


I've looked here Changing color in a shape inside a layer-list programmatically and here Android change color stroke (border) programmatically and elsewhere for a solution but can't get it working.



Can you help?



Here is the xml for my TextView in the ViewContact.java activity, activity_view_contact.xml:



        <TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:background="@drawable/textboxes"
/>


And here is textboxes.xml:



<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--space between each text box-->
<item
android:top="3dp"
android:id="@+id/textbox_shape"
>
<shape android:shape="rectangle">
<!--formatting of colour inside the box-->
<solid android:color="@android:color/transparent" />
<!--formatting of lines on the box-->
<stroke
android:width="1dip"
/>
<corners android:radius="3dp"/>
<!--text formatting in the box-->
<padding
android:textSize="30dp"
android:top="15dp"
android:bottom="1dp"
android:left="20dp"
android:right="20dp"/>
</shape>
</item>
</layer-list>






android xml android-layout






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 at 11:52









CHarrisCHarris

1,54663153




1,54663153








  • 1





    Have u check this stackoverflow.com/a/39489442/7666442

    – Nilesh Rathod
    Jan 3 at 11:53











  • @NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

    – CHarris
    Jan 3 at 12:46














  • 1





    Have u check this stackoverflow.com/a/39489442/7666442

    – Nilesh Rathod
    Jan 3 at 11:53











  • @NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

    – CHarris
    Jan 3 at 12:46








1




1





Have u check this stackoverflow.com/a/39489442/7666442

– Nilesh Rathod
Jan 3 at 11:53





Have u check this stackoverflow.com/a/39489442/7666442

– Nilesh Rathod
Jan 3 at 11:53













@NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

– CHarris
Jan 3 at 12:46





@NileshRathod Looked at it. But I cannot resolve symbol with this line, the name of my textView : categoryname.setBackground(layerDrawable);

– CHarris
Jan 3 at 12:46












2 Answers
2






active

oldest

votes


















1














You are changing the color of the drawable that you load but not the one used in the TextView. Add the following line to your code to set the background drawable in the TextView:



findViewById(R.id.textView1).setBackground(layerDrawable);


You can also get the background for the TextView directly with



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();


Here is a set of code to change the background and the stroke color:



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
// Change background color
gradientDrawable.setColor(Color.parseColor("#DA850B"));
// Change stroke color. (Assumes 5px stroke width.)
gradientDrawable.setStroke(5, Color.parseColor("#FF0000"));





share|improve this answer


























  • setBackground is not working with LayerDrawable

    – CHarris
    Jan 3 at 13:41











  • @CHarris What isn't working? Are you getting an error or is something happening/not happening?

    – Cheticamp
    Jan 3 at 13:55











  • I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

    – CHarris
    Jan 3 at 14:09













  • @CHarris See updated answer.

    – Cheticamp
    Jan 3 at 14:36



















1














You want to change Stroke color (Border):



GradientDrawable gradientDrawable = (GradientDrawable)btn_submit.getBackground();
gradientDrawable.setStroke(2, Color.GREEN);


it works.. check it once..






share|improve this answer


























  • I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

    – CHarris
    Jan 3 at 13:33











  • try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

    – satyan_android
    Jan 3 at 16:45














Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54021762%2fhow-do-i-set-the-border-colour-of-my-textview-programatically%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














You are changing the color of the drawable that you load but not the one used in the TextView. Add the following line to your code to set the background drawable in the TextView:



findViewById(R.id.textView1).setBackground(layerDrawable);


You can also get the background for the TextView directly with



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();


Here is a set of code to change the background and the stroke color:



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
// Change background color
gradientDrawable.setColor(Color.parseColor("#DA850B"));
// Change stroke color. (Assumes 5px stroke width.)
gradientDrawable.setStroke(5, Color.parseColor("#FF0000"));





share|improve this answer


























  • setBackground is not working with LayerDrawable

    – CHarris
    Jan 3 at 13:41











  • @CHarris What isn't working? Are you getting an error or is something happening/not happening?

    – Cheticamp
    Jan 3 at 13:55











  • I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

    – CHarris
    Jan 3 at 14:09













  • @CHarris See updated answer.

    – Cheticamp
    Jan 3 at 14:36
















1














You are changing the color of the drawable that you load but not the one used in the TextView. Add the following line to your code to set the background drawable in the TextView:



findViewById(R.id.textView1).setBackground(layerDrawable);


You can also get the background for the TextView directly with



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();


Here is a set of code to change the background and the stroke color:



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
// Change background color
gradientDrawable.setColor(Color.parseColor("#DA850B"));
// Change stroke color. (Assumes 5px stroke width.)
gradientDrawable.setStroke(5, Color.parseColor("#FF0000"));





share|improve this answer


























  • setBackground is not working with LayerDrawable

    – CHarris
    Jan 3 at 13:41











  • @CHarris What isn't working? Are you getting an error or is something happening/not happening?

    – Cheticamp
    Jan 3 at 13:55











  • I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

    – CHarris
    Jan 3 at 14:09













  • @CHarris See updated answer.

    – Cheticamp
    Jan 3 at 14:36














1












1








1







You are changing the color of the drawable that you load but not the one used in the TextView. Add the following line to your code to set the background drawable in the TextView:



findViewById(R.id.textView1).setBackground(layerDrawable);


You can also get the background for the TextView directly with



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();


Here is a set of code to change the background and the stroke color:



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
// Change background color
gradientDrawable.setColor(Color.parseColor("#DA850B"));
// Change stroke color. (Assumes 5px stroke width.)
gradientDrawable.setStroke(5, Color.parseColor("#FF0000"));





share|improve this answer















You are changing the color of the drawable that you load but not the one used in the TextView. Add the following line to your code to set the background drawable in the TextView:



findViewById(R.id.textView1).setBackground(layerDrawable);


You can also get the background for the TextView directly with



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();


Here is a set of code to change the background and the stroke color:



LayerDrawable layerDrawable = (LayerDrawable) findViewById(R.id.textView1).getBackground();
GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable
.findDrawableByLayerId(R.id.textbox_shape);
// Change background color
gradientDrawable.setColor(Color.parseColor("#DA850B"));
// Change stroke color. (Assumes 5px stroke width.)
gradientDrawable.setStroke(5, Color.parseColor("#FF0000"));






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 3 at 14:36

























answered Jan 3 at 12:53









CheticampCheticamp

29.8k43063




29.8k43063













  • setBackground is not working with LayerDrawable

    – CHarris
    Jan 3 at 13:41











  • @CHarris What isn't working? Are you getting an error or is something happening/not happening?

    – Cheticamp
    Jan 3 at 13:55











  • I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

    – CHarris
    Jan 3 at 14:09













  • @CHarris See updated answer.

    – Cheticamp
    Jan 3 at 14:36



















  • setBackground is not working with LayerDrawable

    – CHarris
    Jan 3 at 13:41











  • @CHarris What isn't working? Are you getting an error or is something happening/not happening?

    – Cheticamp
    Jan 3 at 13:55











  • I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

    – CHarris
    Jan 3 at 14:09













  • @CHarris See updated answer.

    – Cheticamp
    Jan 3 at 14:36

















setBackground is not working with LayerDrawable

– CHarris
Jan 3 at 13:41





setBackground is not working with LayerDrawable

– CHarris
Jan 3 at 13:41













@CHarris What isn't working? Are you getting an error or is something happening/not happening?

– Cheticamp
Jan 3 at 13:55





@CHarris What isn't working? Are you getting an error or is something happening/not happening?

– Cheticamp
Jan 3 at 13:55













I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

– CHarris
Jan 3 at 14:09







I am getting the message, Cannot resolve symbol 'layerDrawable' when I try findViewById(R.id.textView1).setBackground(layerDrawable);

– CHarris
Jan 3 at 14:09















@CHarris See updated answer.

– Cheticamp
Jan 3 at 14:36





@CHarris See updated answer.

– Cheticamp
Jan 3 at 14:36













1














You want to change Stroke color (Border):



GradientDrawable gradientDrawable = (GradientDrawable)btn_submit.getBackground();
gradientDrawable.setStroke(2, Color.GREEN);


it works.. check it once..






share|improve this answer


























  • I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

    – CHarris
    Jan 3 at 13:33











  • try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

    – satyan_android
    Jan 3 at 16:45


















1














You want to change Stroke color (Border):



GradientDrawable gradientDrawable = (GradientDrawable)btn_submit.getBackground();
gradientDrawable.setStroke(2, Color.GREEN);


it works.. check it once..






share|improve this answer


























  • I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

    – CHarris
    Jan 3 at 13:33











  • try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

    – satyan_android
    Jan 3 at 16:45
















1












1








1







You want to change Stroke color (Border):



GradientDrawable gradientDrawable = (GradientDrawable)btn_submit.getBackground();
gradientDrawable.setStroke(2, Color.GREEN);


it works.. check it once..






share|improve this answer















You want to change Stroke color (Border):



GradientDrawable gradientDrawable = (GradientDrawable)btn_submit.getBackground();
gradientDrawable.setStroke(2, Color.GREEN);


it works.. check it once..







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 3 at 16:30









LundinCast

2,81241425




2,81241425










answered Jan 3 at 12:48









satyan_androidsatyan_android

321211




321211













  • I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

    – CHarris
    Jan 3 at 13:33











  • try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

    – satyan_android
    Jan 3 at 16:45





















  • I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

    – CHarris
    Jan 3 at 13:33











  • try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

    – satyan_android
    Jan 3 at 16:45



















I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

– CHarris
Jan 3 at 13:33





I am trying this but doesn't work, there is no change: gradientDrawable.setStroke(1, Color.parseColor("#DA850B"));

– CHarris
Jan 3 at 13:33













try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

– satyan_android
Jan 3 at 16:45







try this.. get it from colors.m=xml.. getResources().getColor(R.color.<name_of_color>)-- --Color.parseColor("#DA850B")); -- For TextViews or Buttons or EditTexts..

– satyan_android
Jan 3 at 16:45




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54021762%2fhow-do-i-set-the-border-colour-of-my-textview-programatically%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith