[Q] how to customize the application for portrait and landscape mode - C, C++, C# and Other Windows Phone Development

first attachment is how i made app in portrait and second is how hi lock in landscape mode. How i make diferent design for landscape and portrait mode.
how i make app to work in portrait and landscape mode ???
pls help.
this is simple xaml
HTML:
<Grid x:Name="LayoutRoot" Background="#FFFF7F27">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Margin="12,0,12,0" Grid.RowSpan="2">
<Image Margin="12,0,12,0" Source="X-O/pozz.png" Stretch="Fill">
</Image>
<TextBlock Visibility="Visible" FontSize="50" VerticalAlignment="Center" HorizontalAlignment="Center" Tapped="TextBlock_Tapped" FontStretch="UltraCondensed" TextWrapping="Wrap" Text="PLAY" Foreground="Black" FontWeight="Bold" TextAlignment="Center" RenderTransformOrigin="0.5,0.5" Name="tb1" LineHeight="36"/>
</Grid>
</Grid>

Related

HOW TO: Start message at top

Heroes!
When I open a message (sms, pushmail, windows live, etc) it opens almost at the top of the message, but not entirely. So I have to scroll to the top of the message to view the To-list, the Cc-list, the time the message was received etc.
Does anybody know how to set messages to start at the top?
Thnx in advance.
Arend
I have the same problem im running the new black os i think its black majic.
Well for me it has always been like this... even with the original shipped ROM
ExEr101 said:
I have the same problem im running the new black os i think its black majic.
Click to expand...
Click to collapse
To be clear, it isn't an flaud/problem, it is as designed. Still, my question remains.
Dudes, come on!
10 OPEN "MAIL";
20 GOTO TOP
RUN
Hi ... at WM6 you can change this ...
... you must only modding some files ...
\windows\read_sms.409.htm
\windows\read_note.409.htm
...
PHP:
<a id="Inbox:top" />
you must only put this to the top by the files ... and save
... sorry for my bad english
dacoon said:
Hi ... at WM6 you can change this ...
... you must only modding some files ...
\windows\read_sms.409.htm
\windows\read_note.409.htm
...
PHP:
<a id="Inbox:top" />
you must only put this to the top by the files ... and save
... sorry for my bad english
Click to expand...
Click to collapse
Great, thnx 4 your post.
But I'm not sure what you mean. Could you post the files you have modified?
Thnx.
dacoon said:
Hi ... at WM6 you can change this ...
... you must only modding some files ...
\windows\read_sms.409.htm
\windows\read_note.409.htm
...
PHP:
<a id="Inbox:top" />
you must only put this to the top by the files ... and save
... sorry for my bad english
Click to expand...
Click to collapse
I'm not sure I understand where that line is supposed to be placed either. Is it placed within the <head></head> or <body></body> or what?
No ...
this tag (<a id="Inbox:top" />) is an link like in a html document ... and if you are open an sms/email etc. WM6 go to the place where it's stand.
Standard
PHP:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\read_style.0409.css" type="text/css" />
</head>
<body>
<div class="header">
<Inbox:To>
<table class="header">
<tr>
<td class="header">To:</td>
<td class="content"><Inbox:content id="TO" /></td>
</tr>
</table>
</Inbox:To>
<Inbox:Sent>
<table class="header">
<tr>
<td class="header">Sent:</td>
<td class="content"><Inbox:content id="SENT" /></td>
</tr>
</table>
</Inbox:Sent>
<a id="Inbox:top" />
<Inbox:InfoBar>
<div>
<Inbox:content id="INFOBAR" />
</div>
</Inbox:InfoBar>
<table class="header3">
<tr>
<td>
<Inbox:SenderPic>
<Inbox:content id="SENDERPIC"/>
</Inbox:SenderPic>
<Inbox:From>
<Inbox:content id="FROM" advancefocusedlink />
</Inbox:From>
<Inbox:Callback>
<table class="callback" cellspacing="0" cellpadding="0" >
<tr>
<td class="callback">Callback:</td>
<td class="content"><Inbox:content id="CALLBACK" /></td>
</tr>
</table>
</Inbox:Callback>
</td>
</tr>
</table>
<hr class="divider" size="1" />
</div>
<Inbox:Subject class="SMS">
<Inbox:content id="SUBJECT" links />
</Inbox:Subject>
<Inbox:DiscreteLink>
<Inbox:content id="DISCRETELINK" />
</Inbox:DiscreteLink>
<Inbox:Padding>
<Inbox:content id="PADDING" />
</Inbox:Padding>
</body>
</html>
... on the top
PHP:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\read_style.0409.css" type="text/css" />
</head>
<body>
<div class="header">
<a id="Inbox:top" /> //now her
<Inbox:To>
<table class="header">
<tr>
<td class="header">To:</td>
<td class="content"><Inbox:content id="TO" /></td>
</tr>
</table>
</Inbox:To>
<Inbox:Sent>
<table class="header">
<tr>
<td class="header">Sent:</td>
<td class="content"><Inbox:content id="SENT" /></td>
</tr>
</table>
</Inbox:Sent>
//from her
<Inbox:InfoBar>
<div>
<Inbox:content id="INFOBAR" />
</div>
</Inbox:InfoBar>
<table class="header3">
<tr>
<td>
<Inbox:SenderPic>
<Inbox:content id="SENDERPIC"/>
</Inbox:SenderPic>
<Inbox:From>
<Inbox:content id="FROM" advancefocusedlink />
</Inbox:From>
<Inbox:Callback>
<table class="callback" cellspacing="0" cellpadding="0" >
<tr>
<td class="callback">Callback:</td>
<td class="content"><Inbox:content id="CALLBACK" /></td>
</tr>
</table>
</Inbox:Callback>
</td>
</tr>
</table>
<hr class="divider" size="1" />
</div>
<Inbox:Subject class="SMS">
<Inbox:content id="SUBJECT" links />
</Inbox:Subject>
<Inbox:DiscreteLink>
<Inbox:content id="DISCRETELINK" />
</Inbox:DiscreteLink>
<Inbox:Padding>
<Inbox:content id="PADDING" />
</Inbox:Padding>
</body>
</html>
can you now understanding me
... and the mod file for you
Thnx. It works... but at the top of my outlook a message appeared that I cannot open and remove. It says "no sender" and "no subject". Any ideas how to remove it?

Push Page Icons on the Internet Tab

Hi everyone,
I've been looking around to find a way to modify the icons from the Push Page buttons in the Internet Tab.
The images seem to be in .QTC format witch I've never heard off...
Can someone tell me how I can open/modified those files?
Here the xml configuration file of the internet tab:
(\ApplicationData\Manila\InternetPortal-fr-FR.xml).
Code:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Lancer le Navigateur"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="Google Maps"
Executable="\Program files\GoogleMaps\GoogleMaps.exe"
ImagePath="\Windows\TF3D_2_Intenet_GMAPS.qtc" />
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<link
Text="Facebook"
Executable="\windows\facebook.exe"
ImagePath="\Windows\TF3D_2_Intenet_FB.qtc" />
<Link
Text="Windows Live Messenger"
Executable="\windows\WLMMessenger.exe"
ImagePath="\Windows\TF3D_2_Intenet_MSN.qtc" />
<Link
Text="Fils RSS"
Executable="\windows\RSSHub.exe"
ImagePath="\Windows\TF3D_2_Intenet_RSS.qtc" />
<Link
Text="Pages Jaunes - Mobile"
NavigateUrl="http://mobile.pj.ca"
ImagePath="\Windows\TF3D_2_Intenet_PJ.qtc" />
</OperatorLinks>
</InternetPortal>
Thanks!

Start menu - font control - win 6.5

hi,
although i have done it on an OmniaII, yet i guess it is applicable on win6.5 regardless of the ppc.
ok,
i searched too much for a cab, or any to control start menu font. change sys font is available, menus but not the start menu.
for no reason i know, the start menu has its own control. i was able to make it 3 or 4 or 5 columns , but not the font
any way manually, go to win folder, locate the following 2 files:
StartMenu_GridScene_480x800.cpr
StartMenu_GridScene_480x800.cpr
they are the files controlling how u see start menu
then open both or any of them - i modified both- u will get the following
=================
<Form Width="480" Height="800">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Top="0" Left="0" Width="480" Height="696" Columns="3" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE">
<Image ID="Selection" Left="0" Top="-30" Width="192" Height="158" Source=".\StartMenu_Selection.png" />
<Layer ID="GridItem" Width="192" Height="166" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Image" Left="51" Top="4" Width="90" Height="90" ScaleStyle="Fit" />
$$$$$HERE$$$$$ <Text ID="Text" Left="18" Top="98" Width="156" Height= $$$$$$"68" FontFamily="Tahoma" FontSize="7" $$$$$$ HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" />
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="480" Height="40" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text>
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
======================
ok, i know nothing about this details except the $$$$$$$ ones - i have added the dollar sign for highlighting
i changed it from 7 to 14 .... for example, so i got what u see in the attached files. the font group can also changed.
i used notepad on my desktop and returned them to my omniaII. every change neeeeeeds restart to take effect.
attached are before and after modification.

SGXU WM 6.5 Bliss Theme & Titanium Remix

How Titanium Should Be... click image to download
special thanks to drkfngthdragnlrd for the titanium icon tutorial
i love it its possible to show only icons in standby?
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
How do you get top and bottom bar so transparent ?
I am tryhing a lot of mods (HDWall included), but none works on my Xperia.
I'm on a 23569 ROM.
Thanks
S
Thanx again chef
spikegotti said:
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
Click to expand...
Click to collapse
thanx again, i will try
Nice,I'll try it

[Q] windows phone 8 pushpin

HI!! I need to replace the shape of my pushpins by an image! this is my xaml code
<maps:Map x:Name="myMap" Margin="-34,0,-36,10" WatermarkMode="On" LandmarksEnabled="True" ColorMode="Dark">
<toolkit:MapExtensions.Children>
<toolkit:MapItemsControl Name="PointItems">
<toolkit:MapItemsControl.ItemTemplate>
<DataTemplate>
<toolkitushpin x:Name="mypus" GeoCoordinate="{Binding Coordinate}" Content="{Binding Info}" BorderBrush="Black" Height="119" FontWeight="Bold" Background="YellowGreen" Foreground="Transparent" Width="29" FontSize="1" Tap="mypus_Tap" BorderThickness="2" Margin="2" />
</DataTemplate>
</toolkit:MapItemsControl.ItemTemplate>
</toolkit:MapItemsControl>
</toolkit:MapExtensions.Children>
</maps:Map>
help me please!
Adding image as pushpin
You need to define a static resource within your xaml where you'll include your image resources and all. From the, simply call it as a pushpin property.
LIke so:
<Style TargetType="myushpin" x:Key="customStyle">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="myushpin">
<Image Source="MapPin.png" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
then in your pushpin tag, add Style = {StaticResource customStyle}

Categories

Resources