I want to write a small console application (C# 4.0/4.5) that will serve as a logger to a remote database. Said application could be called from numerous peripheral automation components/programs, not of all which will be .NET based. (calls would be made via commandline: e.g., logme.exe appID, taskID, statusID, msg)

Question: what would happen if two or more of these programs were to execute the logger either a) at the same time, or b) while it's already in use elsewhere?

I'm unsure of the execution fundamentals and whether I should be concerned with this or not.

Thank you
['https://Stackoverflow.com/questions/28301641', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4155665/']
I found a way, by using an inset drawable:

First, create a new inset drawable (e.g. radio\_button\_inset.xml) with your desired padding and a link to the theme radio button drawable like this:

```
<inset xmlns:android="http://schemas.android.com/apk/res/android"
      android:drawable="?android:attr/listChoiceIndicatorSingle"
      android:insetLeft="@dimen/your_padding_value"/>

```

Second, use this new drawable for your radio button:

```
<RadioButton android:id="@+id/radio_blue"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="How to set the padding on the left of radio pin"
      android:background="@drawable/container_dropshadow"
      android:button="@drawable/radio_button_inset"/>

```
Try using paddingStart on the [RadioGroup](http://developer.android.com/reference/android/widget/RadioGroup.html). Since it's extends from a ViewGroup, [LinearLayout](http://developer.android.com/reference/android/widget/LinearLayout.html), all of the child elements will be affected. 

```
<RadioGroup
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:orientation="vertical"
   android:id="@+id/radiobuttons"
   android:paddingBottom="@dimen/activity_vertical_margin"
   android:dividerPadding="30dp"
   android:paddingStart="8dp">
   <RadioButton android:id="@+id/radio_blue"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="How to set the padding on the left of radio pin"
      android:background="@drawable/container_dropshadow"/>
  <!-- other radio buttons... -->
</RadioGroup>

```

Try this in your background resource. 

```
<!-- Background -->
   <item>
      <shape>
         <padding android:left="8dp" />
         <solid android:color="@android:color/white" />
         <corners android:radius="3dp" />
      </shape>
   </item>

```